Enum egui_tiles::GridLayout
source · pub enum GridLayout {
Auto,
Columns(usize),
}
Expand description
How to lay out the children of a grid.
Variants§
Auto
Place children in a grid, with a dynamic number of columns and rows. Resizing the window may change the number of columns and rows.
Columns(usize)
Place children in a grid with this many columns, and as many rows as needed.
Trait Implementations§
source§impl Clone for GridLayout
impl Clone for GridLayout
source§fn clone(&self) -> GridLayout
fn clone(&self) -> GridLayout
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 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
source§impl<'de> Deserialize<'de> for GridLayout
impl<'de> Deserialize<'de> for GridLayout
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for GridLayout
impl Hash for GridLayout
source§impl Ord for GridLayout
impl Ord for GridLayout
source§fn cmp(&self, other: &GridLayout) -> Ordering
fn cmp(&self, other: &GridLayout) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<GridLayout> for GridLayout
impl PartialEq<GridLayout> for GridLayout
source§fn eq(&self, other: &GridLayout) -> bool
fn eq(&self, other: &GridLayout) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<GridLayout> for GridLayout
impl PartialOrd<GridLayout> for GridLayout
source§fn partial_cmp(&self, other: &GridLayout) -> Option<Ordering>
fn partial_cmp(&self, other: &GridLayout) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for GridLayout
impl Serialize for GridLayout
impl Copy for GridLayout
impl Eq for GridLayout
impl StructuralEq for GridLayout
impl StructuralPartialEq for GridLayout
Auto Trait Implementations§
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