Enum bindgen::EnumVariation [−][src]
pub enum EnumVariation { Rust, Bitfield, Consts, ModuleConsts, }
A helper type that represents different enum variations.
Variants
Rust
The code for this enum will use a Rust enum
Bitfield
The code for this enum will use a bitfield
Consts
The code for this enum will use consts
ModuleConsts
The code for this enum will use a module containing consts
Trait Implementations
impl Copy for EnumVariation
[src]
impl Copy for EnumVariation
impl Clone for EnumVariation
[src]
impl Clone for EnumVariation
fn clone(&self) -> EnumVariation
[src]
fn clone(&self) -> EnumVariation
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 PartialEq for EnumVariation
[src]
impl PartialEq for EnumVariation
fn eq(&self, other: &EnumVariation) -> bool
[src]
fn eq(&self, other: &EnumVariation) -> 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 Debug for EnumVariation
[src]
impl Debug for EnumVariation
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 Default for EnumVariation
[src]
impl Default for EnumVariation
fn default() -> EnumVariation
[src]
fn default() -> EnumVariation
Returns the "default value" for a type. Read more
impl FromStr for EnumVariation
[src]
impl FromStr for EnumVariation
Auto Trait Implementations
impl Send for EnumVariation
impl Send for EnumVariation
impl Sync for EnumVariation
impl Sync for EnumVariation