pub struct SlugSanitizer;Expand description
Sanitizer sluggifies strings by converting them to lowercase, replacing spaces with hyphens, and removing non-alphanumeric characters.
§Example
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SlugSanitizer
impl RefUnwindSafe for SlugSanitizer
impl Send for SlugSanitizer
impl Sync for SlugSanitizer
impl Unpin for SlugSanitizer
impl UnwindSafe for SlugSanitizer
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