Skip to main content

PlacedLeaves

Trait PlacedLeaves 

Source
pub trait PlacedLeaves<I, G>
where G: Clone + Into<DAffine3>,
{ // Required methods fn leaves(&self) -> Leaves<'_, I, G> ⓘ; fn leaves_mut(&mut self) -> LeavesMut<'_, I, G> ⓘ; }
Expand description

Leaf iteration for a placed tree: the wrapper’s pose seeds the accumulation. A bare Node iterates from the identity via Node::leaves.

Required Methods§

Source

fn leaves(&self) -> Leaves<'_, I, G> ⓘ

Iterate the placed tree’s leaf payloads with accumulated world affines (see Node::leaves).

Source

fn leaves_mut(&mut self) -> LeavesMut<'_, I, G> ⓘ

Mutable variant (no transforms are composed).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<I, G> PlacedLeaves<I, G> for Transformed<Node<I, G>, G>
where G: Clone + Into<DAffine3>,

Source§

fn leaves(&self) -> Leaves<'_, I, G> ⓘ

Source§

fn leaves_mut(&mut self) -> LeavesMut<'_, I, G> ⓘ

Implementors§