pub enum TypeEnumVariant<'a> {
Simple,
Tuple(Vec<TypeId>),
Struct(Vec<(&'a str, TypeId)>),
}
Expand description
Enum variant details.
Variants§
Simple
Variant with no associated data.
Tuple(Vec<TypeId>)
Tuple-type variant with at least one associated type.
Struct(Vec<(&'a str, TypeId)>)
Struct-type variant with named properties and types.
Auto Trait Implementations§
impl<'a> Freeze for TypeEnumVariant<'a>
impl<'a> RefUnwindSafe for TypeEnumVariant<'a>
impl<'a> Send for TypeEnumVariant<'a>
impl<'a> Sync for TypeEnumVariant<'a>
impl<'a> Unpin for TypeEnumVariant<'a>
impl<'a> UnwindSafe for TypeEnumVariant<'a>
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