pub struct GridPlacement {
pub column: Option<usize>,
pub row: Option<usize>,
pub col_span: usize,
pub row_span: usize,
}Fields§
§column: Option<usize>§row: Option<usize>§col_span: usize§row_span: usizeImplementations§
Source§impl GridPlacement
impl GridPlacement
pub const AUTO: Self
pub fn new() -> Self
pub fn at(self, column: usize, row: usize) -> Self
pub fn column(self, column: usize) -> Self
pub fn row(self, row: usize) -> Self
pub fn span(self, col_span: usize, row_span: usize) -> Self
pub fn col_span(self, span: usize) -> Self
pub fn row_span(self, span: usize) -> Self
pub fn is_auto(self) -> bool
Trait Implementations§
Source§impl Clone for GridPlacement
impl Clone for GridPlacement
impl Copy for GridPlacement
Source§impl Debug for GridPlacement
impl Debug for GridPlacement
Source§impl Default for GridPlacement
impl Default for GridPlacement
impl Eq for GridPlacement
Source§impl PartialEq for GridPlacement
impl PartialEq for GridPlacement
impl StructuralPartialEq for GridPlacement
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