pub enum EnumVariantCustomBehavior {
ModuleConstify,
Constify,
Hide,
}
Expand description
An enum representing custom handling that can be given to a variant.
Variants
ModuleConstify
This variant will be a module containing constants.
Constify
This variant will be constified, that is, forced to generate a constant.
Hide
This variant will be hidden entirely from the resulting enum.
Trait Implementations
sourceimpl Clone for EnumVariantCustomBehavior
impl Clone for EnumVariantCustomBehavior
sourcefn clone(&self) -> EnumVariantCustomBehavior
fn clone(&self) -> EnumVariantCustomBehavior
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EnumVariantCustomBehavior
impl Debug for EnumVariantCustomBehavior
impl Copy for EnumVariantCustomBehavior
impl Eq for EnumVariantCustomBehavior
impl StructuralEq for EnumVariantCustomBehavior
impl StructuralPartialEq for EnumVariantCustomBehavior
Auto Trait Implementations
impl RefUnwindSafe for EnumVariantCustomBehavior
impl Send for EnumVariantCustomBehavior
impl Sync for EnumVariantCustomBehavior
impl Unpin for EnumVariantCustomBehavior
impl UnwindSafe for EnumVariantCustomBehavior
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