[][src]Struct unsegen::container::LayoutOutput

pub struct LayoutOutput<I: Clone> {
    pub windows: Vec<(I, Rectangle)>,
    pub separators: Vec<Line>,
}

The result of a layouting operation for containers.

Required invariant: None of the windows or lines mutually intersect!

Fields

windows: Vec<(I, Rectangle)>

A mapping from a container index to the screen area where the container will be drawn.

separators: Vec<Line>

A number of lines not directly associated with containers.

(However, it is probably a good idea to use these to visually separate individual containers.)

Auto Trait Implementations

impl<I> Send for LayoutOutput<I> where
    I: Send

impl<I> Sync for LayoutOutput<I> where
    I: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]