Enum bindgen::AliasVariation [−][src]
pub enum AliasVariation {
TypeAlias,
NewType,
NewTypeDeref,
}
Expand description
Enum for how aliases should be translated.
Variants
TypeAlias
Convert to regular Rust alias
NewType
Create a new type by wrapping the old type in a struct and using #[repr(transparent)]
NewTypeDeref
Same as NewStruct but also impl Deref to be able to use the methods of the wrapped type
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for AliasVariation
impl Send for AliasVariation
impl Sync for AliasVariation
impl Unpin for AliasVariation
impl UnwindSafe for AliasVariation
Blanket Implementations
Mutably borrows from an owned value. Read more