Enum resymgen::NamingConvention
source · pub enum NamingConvention {
Identifier,
SnakeCase,
ScreamingSnakeCase,
CamelCase,
PascalCase,
}
Expand description
Naming conventions for symbol names.
Variants
Identifier
Symbol names should be valid identifiers (in accordance with Rust syntax). This condition implicitly applies to all other variants.
SnakeCase
snake_case
ScreamingSnakeCase
SCREAMING_SNAKE_CASE
CamelCase
camelCase
PascalCase
PascalCase
Trait Implementations
sourceimpl Clone for NamingConvention
impl Clone for NamingConvention
sourcefn clone(&self) -> NamingConvention
fn clone(&self) -> NamingConvention
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NamingConvention
impl Debug for NamingConvention
impl Copy for NamingConvention
Auto Trait Implementations
impl RefUnwindSafe for NamingConvention
impl Send for NamingConvention
impl Sync for NamingConvention
impl Unpin for NamingConvention
impl UnwindSafe for NamingConvention
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more