Trait conrod::render::PrimitiveWalker
[−]
[src]
pub trait PrimitiveWalker { fn next_primitive(&mut self) -> Option<Primitive>; }
A trait that allows the user to remain generic over types yielding Primitive
s.
This trait is implemented for both the Primitives
and WalkOwnedPrimitives
types.
Required Methods
fn next_primitive(&mut self) -> Option<Primitive>
Yield the next Primitive
in order of depth, bottom to top.
Implementors
impl<'a> PrimitiveWalker for Primitives<'a>
impl<'a> PrimitiveWalker for WalkOwnedPrimitives<'a>