pub struct HorizontalGrid<'a> { /* private fields */ }
Expand description
Arrange components horizontally.
Implementations§
Source§impl<'a> HorizontalGrid<'a>
impl<'a> HorizontalGrid<'a>
Sourcepub fn new<'t>(components: &'t [&'a dyn Component]) -> HorizontalGrid<'a>
pub fn new<'t>(components: &'t [&'a dyn Component]) -> HorizontalGrid<'a>
Create a new Grid in which the added components are stacked in a single row.
Sourcepub fn new_close_stacked<'t>(
components: &'t [&'a dyn Component],
) -> HorizontalGrid<'a>
pub fn new_close_stacked<'t>( components: &'t [&'a dyn Component], ) -> HorizontalGrid<'a>
Create a new Grid in which the added components are closely stacked in a single row.
Trait Implementations§
Source§impl<'a> Component for HorizontalGrid<'a>
impl<'a> Component for HorizontalGrid<'a>
Source§fn co(&self) -> newtComponent
fn co(&self) -> newtComponent
Return
newtComponent
pointer.Source§impl<'a> Drop for HorizontalGrid<'a>
impl<'a> Drop for HorizontalGrid<'a>
Source§impl<'a> GridFns for HorizontalGrid<'a>
impl<'a> GridFns for HorizontalGrid<'a>
Source§impl<'a> Parent for HorizontalGrid<'a>
impl<'a> Parent for HorizontalGrid<'a>
impl<'a> Grid for HorizontalGrid<'a>
Auto Trait Implementations§
impl<'a> !Freeze for HorizontalGrid<'a>
impl<'a> !RefUnwindSafe for HorizontalGrid<'a>
impl<'a> !Send for HorizontalGrid<'a>
impl<'a> !Sync for HorizontalGrid<'a>
impl<'a> Unpin for HorizontalGrid<'a>
impl<'a> !UnwindSafe for HorizontalGrid<'a>
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