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 more