Struct kas_core::layout::GridChildInfo
source · Expand description
Per-child information
Fields§
§col: u32
Column index (first column when in a span)
col_end: u32
One-past-last index of column span (col_end = col + 1
without span)
row: u32
Row index (first row when in a span)
row_end: u32
One-past-last index of row span (row_end = row + 1
without span)
Implementations§
Trait Implementations§
source§impl Clone for GridChildInfo
impl Clone for GridChildInfo
source§fn clone(&self) -> GridChildInfo
fn clone(&self) -> GridChildInfo
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 GridChildInfo
impl Debug for GridChildInfo
source§impl Hash for GridChildInfo
impl Hash for GridChildInfo
source§impl PartialEq<GridChildInfo> for GridChildInfo
impl PartialEq<GridChildInfo> for GridChildInfo
source§fn eq(&self, other: &GridChildInfo) -> bool
fn eq(&self, other: &GridChildInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GridChildInfo
impl Eq for GridChildInfo
impl StructuralEq for GridChildInfo
impl StructuralPartialEq for GridChildInfo
Auto Trait Implementations§
impl RefUnwindSafe for GridChildInfo
impl Send for GridChildInfo
impl Sync for GridChildInfo
impl Unpin for GridChildInfo
impl UnwindSafe for GridChildInfo
Blanket Implementations§
source§impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
source§fn try_cast_approx(self) -> Result<T, Error>
fn try_cast_approx(self) -> Result<T, Error>
source§fn cast_approx(self) -> T
fn cast_approx(self) -> T
source§impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
source§fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Cast to integer, truncating Read more
source§fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Cast to the nearest integer Read more
source§fn cast_floor(self) -> T
fn cast_floor(self) -> T
Cast the floor to an integer Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.