Enum castle_api::types::VariantType
source · pub enum VariantType {
Unit,
Tuple(Vec<Input, Global>),
Map(HashMap<Box<str, Global>, Input, RandomState>),
}Variants§
Trait Implementations§
source§impl Clone for VariantType
impl Clone for VariantType
source§fn clone(&self) -> VariantType
fn clone(&self) -> VariantType
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 VariantType
impl Debug for VariantType
source§impl PartialEq<VariantType> for VariantType
impl PartialEq<VariantType> for VariantType
source§fn 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 ==.