Enum castle_api::types::VariantType
source · [−]pub enum VariantType {
Unit,
Tuple(Vec<Input, Global>),
Map(HashMap<Box<str, Global>, Input, RandomState>),
}Variants
Unit
Tuple(Vec<Input, Global>)
Map(HashMap<Box<str, Global>, Input, RandomState>)
Trait Implementations
sourceimpl Clone for VariantType
impl Clone for VariantType
sourcefn clone(&self) -> VariantType
fn clone(&self) -> VariantType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for VariantType
impl Debug for VariantType
sourceimpl PartialEq<VariantType> for VariantType
impl PartialEq<VariantType> for VariantType
sourcefn eq(&self, other: &VariantType) -> bool
fn eq(&self, other: &VariantType) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &VariantType) -> bool
fn ne(&self, other: &VariantType) -> bool
This method tests for !=.
impl StructuralPartialEq for VariantType
Auto Trait Implementations
impl RefUnwindSafe for VariantType
impl Send for VariantType
impl Sync for VariantType
impl Unpin for VariantType
impl UnwindSafe for VariantType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more