pub struct Container<C> {
pub children: Vec<Child<C>>,
}Fields§
§children: Vec<Child<C>>Implementations§
Source§impl<C> Container<C>
impl<C> Container<C>
pub fn builder_in(available: usize) -> ContainerBuilder<C>
Sourcepub fn sizes(&self) -> Vec<usize>
pub fn sizes(&self) -> Vec<usize>
Return the sizes of the children, in the order they were added, with 0 for non-included children
pub fn children(&self) -> &[Child<C>]
pub fn to_children(self) -> Vec<Child<C>>
Auto Trait Implementations§
impl<C> Freeze for Container<C>
impl<C> RefUnwindSafe for Container<C>where
C: RefUnwindSafe,
impl<C> Send for Container<C>where
C: Send,
impl<C> Sync for Container<C>where
C: Sync,
impl<C> Unpin for Container<C>where
C: Unpin,
impl<C> UnwindSafe for Container<C>where
C: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more