pub struct CellHeightLimit<W = usize> { /* private fields */ }
Expand description
A modification for cell/table to increase its height.
If used for a Table
PriorityNone
is used.
Implementations§
Source§impl<W> CellHeightLimit<W>
impl<W> CellHeightLimit<W>
Sourcepub fn new(height: W) -> Selfwhere
W: Measurment<Height>,
pub fn new(height: W) -> Selfwhere
W: Measurment<Height>,
Constructs a new object.
Sourcepub fn priority<P>(self) -> TableHeightLimit<W, P>
pub fn priority<P>(self) -> TableHeightLimit<W, P>
Set’s a priority by which the limit logic will be applied.
Trait Implementations§
Source§impl<W, R> CellOption<R> for CellHeightLimit<W>
impl<W, R> CellOption<R> for CellHeightLimit<W>
Source§fn change_cell(&mut self, table: &mut Table<R>, entity: Entity)
fn change_cell(&mut self, table: &mut Table<R>, entity: Entity)
Modification function of a single cell.
Source§impl<W: Debug> Debug for CellHeightLimit<W>
impl<W: Debug> Debug for CellHeightLimit<W>
Source§impl<W, R> TableOption<R> for CellHeightLimit<W>
impl<W, R> TableOption<R> for CellHeightLimit<W>
Auto Trait Implementations§
impl<W> Freeze for CellHeightLimit<W>where
W: Freeze,
impl<W> RefUnwindSafe for CellHeightLimit<W>where
W: RefUnwindSafe,
impl<W> Send for CellHeightLimit<W>where
W: Send,
impl<W> Sync for CellHeightLimit<W>where
W: Sync,
impl<W> Unpin for CellHeightLimit<W>where
W: Unpin,
impl<W> UnwindSafe for CellHeightLimit<W>where
W: UnwindSafe,
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