Struct fungui::ChildAccess
source · pub struct ChildAccess<'a, L: LayoutEngine<E> + ?Sized, E: Extension + 'a> { /* private fields */ }
Expand description
Provides access to a child node and its stored layout data
Implementations§
source§impl<'a, L, E> ChildAccess<'a, L, E>where
L: LayoutEngine<E>,
E: Extension,
impl<'a, L, E> ChildAccess<'a, L, E>where
L: LayoutEngine<E>,
E: Extension,
sourcepub fn get(&self, idx: usize) -> Option<(Rect, DirtyFlags, NodeAccess<'_, L, E>)>
pub fn get(&self, idx: usize) -> Option<(Rect, DirtyFlags, NodeAccess<'_, L, E>)>
Returns the child’s size, flags and data for the given index if any.