Enum tabled::settings::width::SuffixLimit
source · pub enum SuffixLimit {
Cut,
Ignore,
Replace(char),
}
Available on crate feature
std
only.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 copy 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§fn eq(&self, other: &SuffixLimit) -> bool
fn eq(&self, other: &SuffixLimit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SuffixLimit
impl PartialOrd for SuffixLimit
source§fn partial_cmp(&self, other: &SuffixLimit) -> Option<Ordering>
fn partial_cmp(&self, other: &SuffixLimit) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SuffixLimit
impl Eq for SuffixLimit
impl StructuralEq for SuffixLimit
impl StructuralPartialEq for SuffixLimit
Auto Trait Implementations§
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