pub enum SlugSeparator {
Dash,
Underscore,
Custom(char),
}Expand description
Supported separators for generated slugs.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SlugSeparator
impl Clone for SlugSeparator
Source§fn clone(&self) -> SlugSeparator
fn clone(&self) -> SlugSeparator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SlugSeparator
impl Debug for SlugSeparator
Source§impl PartialEq for SlugSeparator
impl PartialEq for SlugSeparator
Source§fn eq(&self, other: &SlugSeparator) -> bool
fn eq(&self, other: &SlugSeparator) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SlugSeparator
impl Eq for SlugSeparator
impl StructuralPartialEq for SlugSeparator
Auto Trait Implementations§
impl Freeze for SlugSeparator
impl RefUnwindSafe for SlugSeparator
impl Send for SlugSeparator
impl Sync for SlugSeparator
impl Unpin for SlugSeparator
impl UnsafeUnpin for SlugSeparator
impl UnwindSafe for SlugSeparator
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