pub struct Name(/* private fields */);Implementations§
Source§impl Name
impl Name
pub fn new(name: String) -> Self
pub fn raw(&self) -> String
pub fn snake_case(&self, conv: impl FnOnce(&str) -> String) -> String
pub fn camel_case(&self, conv: impl FnOnce(&str) -> String) -> String
pub fn shouty_snake_case(&self, conv: impl FnOnce(&str) -> String) -> String
pub fn mixed_case(&self, conv: impl FnOnce(&str) -> String) -> String
Trait Implementations§
impl Eq for Name
impl StructuralPartialEq for Name
Auto Trait Implementations§
impl Freeze for Name
impl RefUnwindSafe for Name
impl Send for Name
impl Sync for Name
impl Unpin for Name
impl UnwindSafe for Name
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