Enum cbindgen::RenameRule [−][src]
pub enum RenameRule { None, GeckoCase, LowerCase, UpperCase, PascalCase, CamelCase, SnakeCase, ScreamingSnakeCase, QualifiedScreamingSnakeCase, }
Expand description
A rule to apply to an identifier when generating bindings.
Variants
Do not apply any renaming. The default.
Converts the identifier to PascalCase and adds a context dependent prefix
Converts the identifier to lower case.
Converts the identifier to upper case.
Converts the identifier to PascalCase.
Converts the identifier to camelCase.
Converts the identifier to snake_case.
Converts the identifier to SCREAMING_SNAKE_CASE.
Converts the identifier to SCREAMING_SNAKE_CASE and prefixes enum variants with the enum name.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for RenameRule
impl Send for RenameRule
impl Sync for RenameRule
impl Unpin for RenameRule
impl UnwindSafe for RenameRule
Blanket Implementations
Mutably borrows from an owned value. Read more