pub enum SampleEnum {
One,
Two,
}
Variants
One
Two
Trait Implementations
sourceimpl VariantNames for SampleEnum
impl VariantNames for SampleEnum
sourceconst VARIANTS: &'static [&'static str]
const VARIANTS: &'static [&'static str]
Names of the variants of this enum
Auto Trait Implementations
impl RefUnwindSafe for SampleEnum
impl Send for SampleEnum
impl Sync for SampleEnum
impl Unpin for SampleEnum
impl UnwindSafe for SampleEnum
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