Enum bindgen::callbacks::EnumVariantCustomBehavior [−][src]
pub enum EnumVariantCustomBehavior { ModuleConstify, Constify, Hide, }
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
impl Copy for EnumVariantCustomBehavior
[src]
impl Copy for EnumVariantCustomBehavior
impl Clone for EnumVariantCustomBehavior
[src]
impl Clone for EnumVariantCustomBehavior
fn clone(&self) -> EnumVariantCustomBehavior
[src]
fn clone(&self) -> EnumVariantCustomBehavior
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for EnumVariantCustomBehavior
[src]
impl Debug for EnumVariantCustomBehavior
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for EnumVariantCustomBehavior
[src]
impl PartialEq for EnumVariantCustomBehavior
fn eq(&self, other: &EnumVariantCustomBehavior) -> bool
[src]
fn eq(&self, other: &EnumVariantCustomBehavior) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for EnumVariantCustomBehavior
[src]
impl Eq for EnumVariantCustomBehavior
Auto Trait Implementations
impl Send for EnumVariantCustomBehavior
impl Send for EnumVariantCustomBehavior
impl Sync for EnumVariantCustomBehavior
impl Sync for EnumVariantCustomBehavior