pub struct TaffyTreeView<'a, T>{
pub composer: &'a Composer<T>,
}
Fields§
§composer: &'a Composer<T>
Implementations§
Source§impl<'a, T> TaffyTreeView<'a, T>
impl<'a, T> TaffyTreeView<'a, T>
Trait Implementations§
Source§impl<T> PrintTree for TaffyTreeView<'_, T>
impl<T> PrintTree for TaffyTreeView<'_, T>
Source§fn get_debug_label(&self, node_id: NodeId) -> &'static str
fn get_debug_label(&self, node_id: NodeId) -> &'static str
Get a debug label for the node (typically the type of node: flexbox, grid, text, image, etc)
Source§fn get_final_layout(&self, node_id: NodeId) -> &Layout
fn get_final_layout(&self, node_id: NodeId) -> &Layout
Get a reference to the node’s final layout
Source§impl<T> TraversePartialTree for TaffyTreeView<'_, T>
impl<T> TraversePartialTree for TaffyTreeView<'_, T>
Source§type ChildIter<'a> = TaffyTreeChildIter<'a>
where
Self: 'a
type ChildIter<'a> = TaffyTreeChildIter<'a> where Self: 'a
Type representing an iterator of the children of a node
Source§fn child_ids(&self, node_id: NodeId) -> Self::ChildIter<'_>
fn child_ids(&self, node_id: NodeId) -> Self::ChildIter<'_>
Get the list of children IDs for the given node
Source§fn child_count(&self, node_id: NodeId) -> usize
fn child_count(&self, node_id: NodeId) -> usize
Get the number of children for the given node
impl<T> TraverseTree for TaffyTreeView<'_, T>
Auto Trait Implementations§
impl<'a, T> Freeze for TaffyTreeView<'a, T>
impl<'a, T> !RefUnwindSafe for TaffyTreeView<'a, T>
impl<'a, T> !Send for TaffyTreeView<'a, T>
impl<'a, T> !Sync for TaffyTreeView<'a, T>
impl<'a, T> Unpin for TaffyTreeView<'a, T>
impl<'a, T> !UnwindSafe for TaffyTreeView<'a, T>
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