[−][src]Struct unsegen::container::VSplit
A Layout
laying out all children vertically, separated by Horizontal lines.
Implementations
impl<'a, C: ContainerProvider> VSplit<'a, C>
[src]
pub fn new(elms: Vec<Box<dyn Layout<C> + 'a>>) -> Self
[src]
Create a VSplit
from its children.
The order of children defines the drawing order from top to bottom.
Trait Implementations
impl<'a, C: ContainerProvider> Layout<C> for VSplit<'a, C>
[src]
fn space_demand(&self, containers: &C) -> Demand2D
[src]
fn layout(
&self,
available_area: Rectangle,
containers: &C
) -> LayoutOutput<C::Index>
[src]
&self,
available_area: Rectangle,
containers: &C
) -> LayoutOutput<C::Index>
Auto Trait Implementations
impl<'a, C> !RefUnwindSafe for VSplit<'a, C>
impl<'a, C> !Send for VSplit<'a, C>
impl<'a, C> !Sync for VSplit<'a, C>
impl<'a, C> Unpin for VSplit<'a, C>
impl<'a, C> !UnwindSafe for VSplit<'a, C>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,