Enum code_generator::NameType
source · pub enum NameType {
Default,
Type,
Member,
Function,
File,
FixedCase(CaseType),
Bypass,
}Expand description
The name type allows the struct to use the generation info to decide the case type of the name based on the type of name.
The FixedCase variant is used to override the CaseType discovery of normal code generation.
The Bypass variant is used to provide a name without having the generator use any sort of formatting on it.
Variants§
Auto Trait Implementations§
impl Freeze for NameType
impl RefUnwindSafe for NameType
impl Send for NameType
impl Sync for NameType
impl Unpin for NameType
impl UnwindSafe for NameType
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