pub struct ValueEnum { /* private fields */ }
Expand description
A value for an enum. Strings are used instead of numbers so that we can handle loading “broken” data.
Implementations§
Trait Implementations§
impl StructuralPartialEq for ValueEnum
Auto Trait Implementations§
impl Freeze for ValueEnum
impl RefUnwindSafe for ValueEnum
impl Send for ValueEnum
impl Sync for ValueEnum
impl Unpin for ValueEnum
impl UnwindSafe for ValueEnum
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