Struct unsegen::container::Leaf [−][src]
pub struct Leaf<C: ContainerProvider> { /* fields omitted */ }
Expand description
A Leaf
in a Layout
-tree.
It simply refers to a container by its index.
Implementations
impl<C: ContainerProvider> Leaf<C>
[src]
impl<C: ContainerProvider> Leaf<C>
[src]Trait Implementations
impl<C: ContainerProvider> Debug for Leaf<C>
[src]
impl<C: ContainerProvider> Debug for Leaf<C>
[src]impl<C: ContainerProvider> Layout<C> for Leaf<C>
[src]
impl<C: ContainerProvider> Layout<C> for Leaf<C>
[src]fn space_demand(&self, containers: &C) -> Demand2D
[src]
fn space_demand(&self, containers: &C) -> Demand2D
[src]Calculate the space demand required for all of the provided containers
Auto Trait Implementations
impl<C> RefUnwindSafe for Leaf<C> where
<C as ContainerProvider>::Index: RefUnwindSafe,
<C as ContainerProvider>::Index: RefUnwindSafe,
impl<C> Send for Leaf<C> where
<C as ContainerProvider>::Index: Send,
<C as ContainerProvider>::Index: Send,
impl<C> Sync for Leaf<C> where
<C as ContainerProvider>::Index: Sync,
<C as ContainerProvider>::Index: Sync,
impl<C> Unpin for Leaf<C> where
<C as ContainerProvider>::Index: Unpin,
<C as ContainerProvider>::Index: Unpin,
impl<C> UnwindSafe for Leaf<C> where
<C as ContainerProvider>::Index: UnwindSafe,
<C as ContainerProvider>::Index: UnwindSafe,