Struct kas_core::layout::DynGridStorage
source · pub struct DynGridStorage { /* private fields */ }
Expand description
Variable-length grid storage
Trait Implementations§
source§impl Clone for DynGridStorage
impl Clone for DynGridStorage
source§fn clone(&self) -> DynGridStorage
fn clone(&self) -> DynGridStorage
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 DynGridStorage
impl Debug for DynGridStorage
source§impl Default for DynGridStorage
impl Default for DynGridStorage
source§fn default() -> DynGridStorage
fn default() -> DynGridStorage
Returns the “default value” for a type. Read more
source§impl GridStorage for DynGridStorage
impl GridStorage for DynGridStorage
source§fn width_rules(&mut self) -> &mut [SizeRules]
fn width_rules(&mut self) -> &mut [SizeRules]
Access
SizeRules
for each columnsource§fn height_rules(&mut self) -> &mut [SizeRules]
fn height_rules(&mut self) -> &mut [SizeRules]
Access
SizeRules
for each rowsource§fn widths_and_rules(&mut self) -> (&mut [i32], &mut [SizeRules])
fn widths_and_rules(&mut self) -> (&mut [i32], &mut [SizeRules])
Access column widths and rules simultaneously
source§fn heights_and_rules(&mut self) -> (&mut [i32], &mut [SizeRules])
fn heights_and_rules(&mut self) -> (&mut [i32], &mut [SizeRules])
Access row heights and rules simultaneously
Auto Trait Implementations§
impl RefUnwindSafe for DynGridStorage
impl Send for DynGridStorage
impl Sync for DynGridStorage
impl Unpin for DynGridStorage
impl UnwindSafe for DynGridStorage
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