enum StructVariant<'a> {
ExternallyTagged {
variant_index: u32,
variant_name: &'a Name,
},
InternallyTagged {
tag: &'a str,
variant_name: &'a Name,
},
Untagged,
}
Variants§
Auto Trait Implementations§
impl<'a> Freeze for StructVariant<'a>
impl<'a> RefUnwindSafe for StructVariant<'a>
impl<'a> !Send for StructVariant<'a>
impl<'a> !Sync for StructVariant<'a>
impl<'a> Unpin for StructVariant<'a>
impl<'a> UnwindSafe for StructVariant<'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