Expand description
An enum type.
Fields
names: Vec<&'a str>
The tag names of the enum.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Enum<'a>
impl<'a> Send for Enum<'a>
impl<'a> Sync for Enum<'a>
impl<'a> Unpin for Enum<'a>
impl<'a> UnwindSafe for Enum<'a>
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