pub struct EnumView<'a>(/* private fields */);Expand description
An enum value’s name, case, and payload.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for EnumView<'a>
impl<'a> !Send for EnumView<'a>
impl<'a> !Sync for EnumView<'a>
impl<'a> !UnwindSafe for EnumView<'a>
impl<'a> Freeze for EnumView<'a>
impl<'a> Unpin for EnumView<'a>
impl<'a> UnsafeUnpin for EnumView<'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