pub struct ComponentVariant(/* private fields */);Implementations§
Trait Implementations§
Source§impl AsRef<str> for ComponentVariant
impl AsRef<str> for ComponentVariant
Source§impl Clone for ComponentVariant
impl Clone for ComponentVariant
Source§fn clone(&self) -> ComponentVariant
fn clone(&self) -> ComponentVariant
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 ComponentVariant
impl Debug for ComponentVariant
Source§impl Hash for ComponentVariant
impl Hash for ComponentVariant
Source§impl Ord for ComponentVariant
impl Ord for ComponentVariant
Source§fn cmp(&self, other: &ComponentVariant) -> Ordering
fn cmp(&self, other: &ComponentVariant) -> 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 ComponentVariant
impl PartialEq for ComponentVariant
Source§fn eq(&self, other: &ComponentVariant) -> bool
fn eq(&self, other: &ComponentVariant) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ComponentVariant
impl PartialOrd for ComponentVariant
impl Eq for ComponentVariant
impl StructuralPartialEq for ComponentVariant
Auto Trait Implementations§
impl Freeze for ComponentVariant
impl RefUnwindSafe for ComponentVariant
impl Send for ComponentVariant
impl Sync for ComponentVariant
impl Unpin for ComponentVariant
impl UnsafeUnpin for ComponentVariant
impl UnwindSafe for ComponentVariant
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