Struct newt::grid::HorizontalGrid
source · [−]pub struct HorizontalGrid<'a> { /* private fields */ }
Expand description
Arrange components horizontally.
Implementations
sourceimpl<'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
sourceimpl<'a> Component for HorizontalGrid<'a>
impl<'a> Component for HorizontalGrid<'a>
sourcefn co(&self) -> newtComponent
fn co(&self) -> newtComponent
Return newtComponent
pointer.
sourceimpl<'a> Drop for HorizontalGrid<'a>
impl<'a> Drop for HorizontalGrid<'a>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more