Struct tabled::grid::dimension::PoolTableDimension
source · pub struct PoolTableDimension { /* private fields */ }
Expand description
PoolTableDimension is a dimension resolve strategy for PoolTable
Implementations§
source§impl PoolTableDimension
impl PoolTableDimension
sourcepub fn new(width: DimensionPriority, height: DimensionPriority) -> Self
pub fn new(width: DimensionPriority, height: DimensionPriority) -> Self
Creates a new object.
sourcepub fn width(&self) -> DimensionPriority
pub fn width(&self) -> DimensionPriority
Return a width priority.
sourcepub fn height(&self) -> DimensionPriority
pub fn height(&self) -> DimensionPriority
Return a height priority.
Trait Implementations§
source§impl Clone for PoolTableDimension
impl Clone for PoolTableDimension
source§fn clone(&self) -> PoolTableDimension
fn clone(&self) -> PoolTableDimension
Returns a copy 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 PoolTableDimension
impl Debug for PoolTableDimension
source§impl Ord for PoolTableDimension
impl Ord for PoolTableDimension
source§fn cmp(&self, other: &PoolTableDimension) -> Ordering
fn cmp(&self, other: &PoolTableDimension) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PoolTableDimension
impl PartialEq for PoolTableDimension
source§fn eq(&self, other: &PoolTableDimension) -> bool
fn eq(&self, other: &PoolTableDimension) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PoolTableDimension
impl PartialOrd for PoolTableDimension
source§fn partial_cmp(&self, other: &PoolTableDimension) -> Option<Ordering>
fn partial_cmp(&self, other: &PoolTableDimension) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<R, C> TableOption<R, C, PoolTableDimension> for PoolTableDimension
Available on crate feature std
only.
impl<R, C> TableOption<R, C, PoolTableDimension> for PoolTableDimension
Available on crate feature
std
only.source§fn change(self, _: &mut R, _: &mut C, dimension: &mut PoolTableDimension)
fn change(self, _: &mut R, _: &mut C, dimension: &mut PoolTableDimension)
The function modificaties of records and a grid configuration.
source§fn hint_change(&self) -> Option<Entity>
fn hint_change(&self) -> Option<Entity>
A hint whether an
TableOption
is going to change table layout. Read moreimpl Copy for PoolTableDimension
impl Eq for PoolTableDimension
impl StructuralEq for PoolTableDimension
impl StructuralPartialEq for PoolTableDimension
Auto Trait Implementations§
impl RefUnwindSafe for PoolTableDimension
impl Send for PoolTableDimension
impl Sync for PoolTableDimension
impl Unpin for PoolTableDimension
impl UnwindSafe for PoolTableDimension
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