[][src]Enum bindgen::MacroTypeVariation

pub enum MacroTypeVariation {
    Signed,
    Unsigned,
}

Enum for the default type of macro constants.

Variants

Signed

Use i32 or i64

Unsigned

Use u32 or u64

Implementations

impl MacroTypeVariation[src]

pub fn as_str(&self) -> &str[src]

Convert a MacroTypeVariation to its str representation.

Trait Implementations

impl Clone for MacroTypeVariation[src]

impl Copy for MacroTypeVariation[src]

impl Debug for MacroTypeVariation[src]

impl Default for MacroTypeVariation[src]

impl FromStr for MacroTypeVariation[src]

type Err = Error

The associated error which can be returned from parsing.

pub fn from_str(s: &str) -> Result<Self, Self::Err>[src]

Create a MacroTypeVariation from a string.

impl PartialEq<MacroTypeVariation> for MacroTypeVariation[src]

impl StructuralPartialEq for MacroTypeVariation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.