pub enum TextTruncate {
None,
Ellipsis,
}Expand description
文本截断模式
Variants§
Trait Implementations§
Source§impl Clone for TextTruncate
impl Clone for TextTruncate
Source§fn clone(&self) -> TextTruncate
fn clone(&self) -> TextTruncate
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 TextTruncate
impl Debug for TextTruncate
Source§impl Default for TextTruncate
impl Default for TextTruncate
Source§fn default() -> TextTruncate
fn default() -> TextTruncate
Returns the “default value” for a type. Read more
Source§impl PartialEq for TextTruncate
impl PartialEq for TextTruncate
Source§fn eq(&self, other: &TextTruncate) -> bool
fn eq(&self, other: &TextTruncate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TextTruncate
impl Eq for TextTruncate
impl StructuralPartialEq for TextTruncate
Auto Trait Implementations§
impl Freeze for TextTruncate
impl RefUnwindSafe for TextTruncate
impl Send for TextTruncate
impl Sync for TextTruncate
impl Unpin for TextTruncate
impl UnsafeUnpin for TextTruncate
impl UnwindSafe for TextTruncate
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