pub enum CNamingStyle {
Lowercase,
Uppercase,
LowerCamelCase,
UpperCamelCase,
SnakeCase,
ShoutySnakeCase,
}
Expand description
Style of documentation in generated C code
Variants§
Lowercase
Names all in lowercase without spacing e.g. ‘thetypename’
Uppercase
Names all in uppercase without spacing e.g. ‘THETYPENAME’
LowerCamelCase
Names in mixed case starting with lowercase without spacing e.g. ‘theTypeName’
UpperCamelCase
Names in mixed case starting with uppercase without spacing e.g. ‘TheTypeName’
SnakeCase
Names in lower case with ‘_’ as spacing e.g. ‘the_type_name’
ShoutySnakeCase
Names in upper case with ‘_’ as spacing e.g. ‘THE_TYPE_NAME’
Trait Implementations§
source§impl Clone for CNamingStyle
impl Clone for CNamingStyle
source§fn clone(&self) -> CNamingStyle
fn clone(&self) -> CNamingStyle
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 CNamingStyle
impl Debug for CNamingStyle
source§impl PartialEq for CNamingStyle
impl PartialEq for CNamingStyle
source§fn eq(&self, other: &CNamingStyle) -> bool
fn eq(&self, other: &CNamingStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CNamingStyle
impl StructuralPartialEq for CNamingStyle
Auto Trait Implementations§
impl RefUnwindSafe for CNamingStyle
impl Send for CNamingStyle
impl Sync for CNamingStyle
impl Unpin for CNamingStyle
impl UnwindSafe for CNamingStyle
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more