pub enum CellOverflow {
Wrap,
Clip,
Shrink,
}Expand description
How text that overflows the cell height is handled.
Variants§
Wrap
Text wraps across lines; row height grows to fit content (default).
Clip
Text is word-wrapped but clipped to the row’s fixed height.
Shrink
Font size shrinks until all text fits within the row’s fixed height.
Trait Implementations§
Source§impl Clone for CellOverflow
impl Clone for CellOverflow
Source§fn clone(&self) -> CellOverflow
fn clone(&self) -> CellOverflow
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 CellOverflow
impl Debug for CellOverflow
Source§impl PartialEq for CellOverflow
impl PartialEq for CellOverflow
impl Copy for CellOverflow
impl Eq for CellOverflow
impl StructuralPartialEq for CellOverflow
Auto Trait Implementations§
impl Freeze for CellOverflow
impl RefUnwindSafe for CellOverflow
impl Send for CellOverflow
impl Sync for CellOverflow
impl Unpin for CellOverflow
impl UnsafeUnpin for CellOverflow
impl UnwindSafe for CellOverflow
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