Struct egui_tiles::Grid
source · pub struct Grid {
pub layout: GridLayout,
pub col_shares: Vec<f32>,
pub row_shares: Vec<f32>,
/* private fields */
}
Expand description
A grid of tiles.
Fields§
§layout: GridLayout
Determines the number of columns.
Share of the available width assigned to each column.
Share of the available height assigned to each row.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Grid
impl<'de> Deserialize<'de> for Grid
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
Auto Trait Implementations§
impl Freeze for Grid
impl RefUnwindSafe for Grid
impl Send for Grid
impl Sync for Grid
impl Unpin for Grid
impl UnwindSafe for Grid
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