pub enum Truncation {
Start,
Middle,
End,
}Expand description
Where a Text cut off at its line limit puts its ellipsis: in place
of its start, its middle (a path’s folders, keeping its file name) or
its end. Start and end are the text’s, so in right-to-left text the
start is on the right. Platforms that can’t put one there cut off the
end, as their labels do.
Variants§
Trait Implementations§
Source§impl Clone for Truncation
impl Clone for Truncation
impl Copy for Truncation
Source§impl Debug for Truncation
impl Debug for Truncation
Source§impl Default for Truncation
impl Default for Truncation
impl Eq for Truncation
Source§impl Hash for Truncation
impl Hash for Truncation
Source§impl IntoValue<Truncation> for Truncation
impl IntoValue<Truncation> for Truncation
fn into_value(self) -> Value<Truncation>
Source§impl PartialEq for Truncation
impl PartialEq for Truncation
impl StructuralPartialEq for Truncation
Auto Trait Implementations§
impl Freeze for Truncation
impl RefUnwindSafe for Truncation
impl Send for Truncation
impl Sync for Truncation
impl Unpin for Truncation
impl UnsafeUnpin for Truncation
impl UnwindSafe for Truncation
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