pub struct GridPlacement {
pub column_start: Option<i32>,
pub column_end: Option<i32>,
pub row_start: Option<i32>,
pub row_end: Option<i32>,
pub column_span: Option<u32>,
pub row_span: Option<u32>,
}Expand description
Grid item placement.
Fields§
§column_start: Option<i32>Column start line (1-based).
column_end: Option<i32>Column end line (1-based).
row_start: Option<i32>Row start line (1-based).
row_end: Option<i32>Row end line (1-based).
column_span: Option<u32>Number of columns to span.
row_span: Option<u32>Number of rows to span.
Trait Implementations§
Source§impl Clone for GridPlacement
impl Clone for GridPlacement
Source§fn clone(&self) -> GridPlacement
fn clone(&self) -> GridPlacement
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 GridPlacement
impl Debug for GridPlacement
Source§impl Default for GridPlacement
impl Default for GridPlacement
Source§fn default() -> GridPlacement
fn default() -> GridPlacement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GridPlacement
impl<'de> Deserialize<'de> for GridPlacement
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 GridPlacement
impl RefUnwindSafe for GridPlacement
impl Send for GridPlacement
impl Sync for GridPlacement
impl Unpin for GridPlacement
impl UnsafeUnpin for GridPlacement
impl UnwindSafe for GridPlacement
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