Struct newt::grid::VerticalGrid
source · [−]pub struct VerticalGrid<'a> { /* private fields */ }
Expand description
Arrange components vertically.
Implementations
sourceimpl<'a> VerticalGrid<'a>
impl<'a> VerticalGrid<'a>
sourcepub fn new<'t>(components: &'t [&'a dyn Component]) -> VerticalGrid<'a>
pub fn new<'t>(components: &'t [&'a dyn Component]) -> VerticalGrid<'a>
Create a new Grid in which the added components are stacked in a single column.
sourcepub fn new_close_stacked<'t>(
components: &'t [&'a dyn Component]
) -> VerticalGrid<'a>
pub fn new_close_stacked<'t>(
components: &'t [&'a dyn Component]
) -> VerticalGrid<'a>
Create a new Grid in which the added components are closely stacked in a single column.
Trait Implementations
sourceimpl<'a> Component for VerticalGrid<'a>
impl<'a> Component for VerticalGrid<'a>
sourcefn co(&self) -> newtComponent
fn co(&self) -> newtComponent
Return newtComponent
pointer.
sourceimpl<'a> Drop for VerticalGrid<'a>
impl<'a> Drop for VerticalGrid<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for VerticalGrid<'a>
impl<'a> !Send for VerticalGrid<'a>
impl<'a> !Sync for VerticalGrid<'a>
impl<'a> Unpin for VerticalGrid<'a>
impl<'a> !UnwindSafe for VerticalGrid<'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