pub struct PlatformVariant(/* private fields */);Implementations§
Trait Implementations§
Source§impl AsRef<str> for PlatformVariant
impl AsRef<str> for PlatformVariant
Source§impl Clone for PlatformVariant
impl Clone for PlatformVariant
Source§fn clone(&self) -> PlatformVariant
fn clone(&self) -> PlatformVariant
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlatformVariant
impl Debug for PlatformVariant
Source§impl Display for PlatformVariant
impl Display for PlatformVariant
Source§impl Hash for PlatformVariant
impl Hash for PlatformVariant
Source§impl Ord for PlatformVariant
impl Ord for PlatformVariant
Source§fn cmp(&self, other: &PlatformVariant) -> Ordering
fn cmp(&self, other: &PlatformVariant) -> Ordering
1.21.0 (const: unstable) · 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 PlatformVariant
impl PartialEq for PlatformVariant
Source§fn eq(&self, other: &PlatformVariant) -> bool
fn eq(&self, other: &PlatformVariant) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PlatformVariant
impl PartialOrd for PlatformVariant
impl Eq for PlatformVariant
impl StructuralPartialEq for PlatformVariant
Auto Trait Implementations§
impl Freeze for PlatformVariant
impl RefUnwindSafe for PlatformVariant
impl Send for PlatformVariant
impl Sync for PlatformVariant
impl Unpin for PlatformVariant
impl UnsafeUnpin for PlatformVariant
impl UnwindSafe for PlatformVariant
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