pub enum OverflowMethod {
Fold,
Crop,
Ellipsis,
Ignore,
}Expand description
Text overflow handling method.
Variants§
Fold
Fold text at word boundaries.
Crop
Crop text at the edge.
Ellipsis
Add ellipsis when text is cropped.
Ignore
Ignore overflow (let text extend beyond bounds).
Implementations§
Trait Implementations§
Source§impl Clone for OverflowMethod
impl Clone for OverflowMethod
Source§fn clone(&self) -> OverflowMethod
fn clone(&self) -> OverflowMethod
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 OverflowMethod
impl Debug for OverflowMethod
Source§impl Default for OverflowMethod
impl Default for OverflowMethod
Source§fn default() -> OverflowMethod
fn default() -> OverflowMethod
Returns the “default value” for a type. Read more
Source§impl PartialEq for OverflowMethod
impl PartialEq for OverflowMethod
impl Copy for OverflowMethod
impl Eq for OverflowMethod
impl StructuralPartialEq for OverflowMethod
Auto Trait Implementations§
impl Freeze for OverflowMethod
impl RefUnwindSafe for OverflowMethod
impl Send for OverflowMethod
impl Sync for OverflowMethod
impl Unpin for OverflowMethod
impl UnwindSafe for OverflowMethod
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.