pub struct GridLayout {
pub columns: Vec<(f32, f32)>,
pub rows: Vec<(f32, f32)>,
pub width: f32,
pub height: f32,
}Expand description
Computed grid layout result.
Fields§
§columns: Vec<(f32, f32)>Computed column positions and sizes (start, size)
rows: Vec<(f32, f32)>Computed row positions and sizes (start, size)
width: f32Total grid width
height: f32Total grid height
Implementations§
Trait Implementations§
Source§impl Clone for GridLayout
impl Clone for GridLayout
Source§fn clone(&self) -> GridLayout
fn clone(&self) -> GridLayout
Returns a duplicate 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 GridLayout
impl Debug for GridLayout
Source§impl Default for GridLayout
impl Default for GridLayout
Source§fn default() -> GridLayout
fn default() -> GridLayout
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GridLayout
impl RefUnwindSafe for GridLayout
impl Send for GridLayout
impl Sync for GridLayout
impl Unpin for GridLayout
impl UnwindSafe for GridLayout
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