Struct wit_encoder::VariantCase
source · pub struct VariantCase { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Clone for VariantCase
impl Clone for VariantCase
source§fn clone(&self) -> VariantCase
fn clone(&self) -> VariantCase
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 VariantCase
impl Debug for VariantCase
source§impl Hash for VariantCase
impl Hash for VariantCase
source§impl<N> Into<VariantCase> for (N,)
impl<N> Into<VariantCase> for (N,)
source§fn into(self) -> VariantCase
fn into(self) -> VariantCase
Converts this type into the (usually inferred) input type.
source§impl<N> Into<VariantCase> for (N, Type)
impl<N> Into<VariantCase> for (N, Type)
source§fn into(self) -> VariantCase
fn into(self) -> VariantCase
Converts this type into the (usually inferred) input type.
source§impl<N, D> Into<VariantCase> for (N, Type, D)
impl<N, D> Into<VariantCase> for (N, Type, D)
source§fn into(self) -> VariantCase
fn into(self) -> VariantCase
Converts this type into the (usually inferred) input type.
source§impl Ord for VariantCase
impl Ord for VariantCase
source§fn cmp(&self, other: &VariantCase) -> Ordering
fn cmp(&self, other: &VariantCase) -> 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 VariantCase
impl PartialEq for VariantCase
source§fn eq(&self, other: &VariantCase) -> bool
fn eq(&self, other: &VariantCase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for VariantCase
impl PartialOrd for VariantCase
source§fn partial_cmp(&self, other: &VariantCase) -> Option<Ordering>
fn partial_cmp(&self, other: &VariantCase) -> Option<Ordering>
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 VariantCase
impl StructuralPartialEq for VariantCase
Auto Trait Implementations§
impl Freeze for VariantCase
impl RefUnwindSafe for VariantCase
impl Send for VariantCase
impl Sync for VariantCase
impl Unpin for VariantCase
impl UnwindSafe for VariantCase
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
)