pub enum IdentifierFormat {
Original,
Upper,
Lower,
WithPrefix(String),
WithSuffix(String),
ZeroPadded(usize),
SpacePadded(usize),
WithSeparator {
separator: char,
interval: usize,
},
}Expand description
Identifier format variations.
Variants§
Original
Original case.
Upper
Uppercase.
Lower
Lowercase.
WithPrefix(String)
With prefix.
WithSuffix(String)
With suffix.
ZeroPadded(usize)
Zero-padded to length.
SpacePadded(usize)
Space-padded to length.
WithSeparator
With separator.
Implementations§
Trait Implementations§
Source§impl Clone for IdentifierFormat
impl Clone for IdentifierFormat
Source§fn clone(&self) -> IdentifierFormat
fn clone(&self) -> IdentifierFormat
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for IdentifierFormat
impl RefUnwindSafe for IdentifierFormat
impl Send for IdentifierFormat
impl Sync for IdentifierFormat
impl Unpin for IdentifierFormat
impl UnwindSafe for IdentifierFormat
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