pub(in compute::grid) struct KnownDimensionsCacheEntry {
grid_area_size: Size<Option<f32>>,
known_dimensions: Size<Option<f32>>,
}Expand description
The known_dimensions computed for a grid item for a given grid area size
Fields§
§grid_area_size: Size<Option<f32>>The grid area size that known_dimensions was computed for
known_dimensions: Size<Option<f32>>The cached known_dimensions
Trait Implementations§
Source§impl Clone for KnownDimensionsCacheEntry
impl Clone for KnownDimensionsCacheEntry
Source§fn clone(&self) -> KnownDimensionsCacheEntry
fn clone(&self) -> KnownDimensionsCacheEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KnownDimensionsCacheEntry
Auto Trait Implementations§
impl Freeze for KnownDimensionsCacheEntry
impl RefUnwindSafe for KnownDimensionsCacheEntry
impl Send for KnownDimensionsCacheEntry
impl Sync for KnownDimensionsCacheEntry
impl Unpin for KnownDimensionsCacheEntry
impl UnsafeUnpin for KnownDimensionsCacheEntry
impl UnwindSafe for KnownDimensionsCacheEntry
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