pub struct GridLayout {
pub columns: Option<usize>,
pub cell_width: f64,
pub cell_height: f64,
pub margin: f64,
}Expand description
Simple grid layout
Fields§
§columns: Option<usize>§cell_width: f64§cell_height: f64§margin: f64Implementations§
Source§impl GridLayout
impl GridLayout
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§impl<N, E> LayoutAlgorithm<N, E> for GridLayout
impl<N, E> LayoutAlgorithm<N, E> for GridLayout
Source§fn is_running(&self) -> bool
fn is_running(&self) -> bool
Check if the algorithm is running
Source§fn can_interrupt(&self) -> bool
fn can_interrupt(&self) -> bool
Check if the algorithm can be interrupted
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