pub enum EllipsizeMode {
None,
Start,
Middle,
End,
// some variants omitted
}
Variants§
Trait Implementations§
Source§impl Clone for EllipsizeMode
impl Clone for EllipsizeMode
Source§fn clone(&self) -> EllipsizeMode
fn clone(&self) -> EllipsizeMode
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 EllipsizeMode
impl Debug for EllipsizeMode
Source§impl Display for EllipsizeMode
impl Display for EllipsizeMode
Source§impl<'a> FromValue<'a> for EllipsizeMode
impl<'a> FromValue<'a> for EllipsizeMode
unsafe fn from_value(value: &Value) -> Self
Source§impl<'a> FromValueOptional<'a> for EllipsizeMode
impl<'a> FromValueOptional<'a> for EllipsizeMode
unsafe fn from_value_optional(value: &Value) -> Option<Self>
Source§impl Hash for EllipsizeMode
impl Hash for EllipsizeMode
Source§impl Ord for EllipsizeMode
impl Ord for EllipsizeMode
Source§fn cmp(&self, other: &EllipsizeMode) -> Ordering
fn cmp(&self, other: &EllipsizeMode) -> 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 EllipsizeMode
impl PartialEq for EllipsizeMode
Source§impl PartialOrd for EllipsizeMode
impl PartialOrd for EllipsizeMode
Source§impl StaticType for EllipsizeMode
impl StaticType for EllipsizeMode
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for EllipsizeMode
impl Eq for EllipsizeMode
impl StructuralPartialEq for EllipsizeMode
Auto Trait Implementations§
impl Freeze for EllipsizeMode
impl RefUnwindSafe for EllipsizeMode
impl Send for EllipsizeMode
impl Sync for EllipsizeMode
impl Unpin for EllipsizeMode
impl UnwindSafe for EllipsizeMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.