Struct interoptopus::util::IdPrettifier
source · [−]pub struct IdPrettifier { /* private fields */ }
Expand description
Allows, for example, my_id
to be converted to MyId
.
Implementations
sourceimpl IdPrettifier
impl IdPrettifier
sourcepub fn from_rust_lower(id: &str) -> Self
pub fn from_rust_lower(id: &str) -> Self
Creates a new prettifier from a my_name
identifier.
pub fn to_camel_case(&self) -> String
Auto Trait Implementations
impl RefUnwindSafe for IdPrettifier
impl Send for IdPrettifier
impl Sync for IdPrettifier
impl Unpin for IdPrettifier
impl UnwindSafe for IdPrettifier
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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