pub enum EnumVariantType {
Struct(EnumVariantStructTypeRef),
Tuple(EnumVariantTupleTypeRef),
Nothing(EnumVariantSimpleTypeRef),
}
Variants§
Implementations§
Source§impl EnumVariantType
impl EnumVariantType
pub fn common(&self) -> &EnumVariantCommon
Trait Implementations§
Source§impl Clone for EnumVariantType
impl Clone for EnumVariantType
Source§fn clone(&self) -> EnumVariantType
fn clone(&self) -> EnumVariantType
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 EnumVariantType
impl Debug for EnumVariantType
Source§impl PartialEq for EnumVariantType
impl PartialEq for EnumVariantType
impl Eq for EnumVariantType
impl StructuralPartialEq for EnumVariantType
Auto Trait Implementations§
impl Freeze for EnumVariantType
impl !RefUnwindSafe for EnumVariantType
impl !Send for EnumVariantType
impl !Sync for EnumVariantType
impl Unpin for EnumVariantType
impl !UnwindSafe for EnumVariantType
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