pub struct Ident(pub &'static str);Expand description
Formats the input using a pattern string, producing an Ident.
The {} placeholder in the pattern is replaced with the input value.
Template usage: {{ name | ident:"get_{}" }}
Tuple Fields§
§0: &'static strTrait Implementations§
Auto Trait Implementations§
impl Freeze for Ident
impl RefUnwindSafe for Ident
impl Send for Ident
impl Sync for Ident
impl Unpin for Ident
impl UnsafeUnpin for Ident
impl UnwindSafe for Ident
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