Enum bindgen::EnumVariation
source · pub enum EnumVariation {
Rust,
Bitfield,
Consts,
ModuleConsts,
}
Expand description
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§
source§impl Clone for EnumVariation
impl Clone for EnumVariation
source§fn clone(&self) -> EnumVariation
fn clone(&self) -> EnumVariation
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 EnumVariation
impl Debug for EnumVariation
source§impl Default for EnumVariation
impl Default for EnumVariation
source§fn default() -> EnumVariation
fn default() -> EnumVariation
Returns the “default value” for a type. Read more