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§
source§impl Clone for EnumVariantCustomBehavior
impl Clone for EnumVariantCustomBehavior
source§fn clone(&self) -> EnumVariantCustomBehavior
fn clone(&self) -> EnumVariantCustomBehavior
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EnumVariantCustomBehavior
impl Debug for EnumVariantCustomBehavior
source§impl PartialEq<EnumVariantCustomBehavior> for EnumVariantCustomBehavior
impl PartialEq<EnumVariantCustomBehavior> for EnumVariantCustomBehavior
source§fn eq(&self, other: &EnumVariantCustomBehavior) -> bool
fn eq(&self, other: &EnumVariantCustomBehavior) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.