Struct wit_encoder::Enum
source · pub struct Enum { /* private fields */ }
Expand description
A variant without a payload
Implementations§
Trait Implementations§
source§impl<C> FromIterator<C> for Enum
impl<C> FromIterator<C> for Enum
source§fn from_iter<T: IntoIterator<Item = C>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = C>>(iter: T) -> Self
Creates a value from an iterator. Read more
source§impl Ord for Enum
impl Ord for Enum
source§impl PartialEq for Enum
impl PartialEq for Enum
source§impl PartialOrd for Enum
impl PartialOrd for Enum
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Enum
impl StructuralPartialEq for Enum
Auto Trait Implementations§
impl Freeze for Enum
impl RefUnwindSafe for Enum
impl Send for Enum
impl Sync for Enum
impl Unpin for Enum
impl UnwindSafe for Enum
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)