pub struct PackageVariant(/* private fields */);
Expand description
A Fuchsia Package Variant. Package variants are the optional second segment of the path.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for PackageVariant
impl AsRef<str> for PackageVariant
Source§impl Clone for PackageVariant
impl Clone for PackageVariant
Source§fn clone(&self) -> PackageVariant
fn clone(&self) -> PackageVariant
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PackageVariant
impl Debug for PackageVariant
Source§impl<'de> Deserialize<'de> for PackageVariant
impl<'de> Deserialize<'de> for PackageVariant
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PackageVariant
impl Display for PackageVariant
Source§impl FromStr for PackageVariant
impl FromStr for PackageVariant
Source§impl Hash for PackageVariant
impl Hash for PackageVariant
Source§impl Ord for PackageVariant
impl Ord for PackageVariant
Source§fn cmp(&self, other: &PackageVariant) -> Ordering
fn cmp(&self, other: &PackageVariant) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PackageVariant
impl PartialEq for PackageVariant
Source§impl PartialOrd for PackageVariant
impl PartialOrd for PackageVariant
Source§impl Serialize for PackageVariant
impl Serialize for PackageVariant
Source§impl TryFrom<String> for PackageVariant
impl TryFrom<String> for PackageVariant
impl Eq for PackageVariant
impl StructuralPartialEq for PackageVariant
Auto Trait Implementations§
impl Freeze for PackageVariant
impl RefUnwindSafe for PackageVariant
impl Send for PackageVariant
impl Sync for PackageVariant
impl Unpin for PackageVariant
impl UnwindSafe for PackageVariant
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)