pub enum SuffixLimit {
Cut,
Ignore,
Replace(char),
}
Expand description
A suffix limit settings.
Variants§
Trait Implementations§
Source§impl Clone for SuffixLimit
impl Clone for SuffixLimit
Source§fn clone(&self) -> SuffixLimit
fn clone(&self) -> SuffixLimit
Returns a duplicate of the value. Read more
1.0.0 · 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 SuffixLimit
impl Debug for SuffixLimit
Source§impl Ord for SuffixLimit
impl Ord for SuffixLimit
Source§fn cmp(&self, other: &SuffixLimit) -> Ordering
fn cmp(&self, other: &SuffixLimit) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SuffixLimit
impl PartialEq for SuffixLimit
Source§impl PartialOrd for SuffixLimit
impl PartialOrd for SuffixLimit
impl Copy for SuffixLimit
impl Eq for SuffixLimit
impl StructuralPartialEq for SuffixLimit
Auto Trait Implementations§
impl Freeze for SuffixLimit
impl RefUnwindSafe for SuffixLimit
impl Send for SuffixLimit
impl Sync for SuffixLimit
impl Unpin for SuffixLimit
impl UnwindSafe for SuffixLimit
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