Trait carbide_core::render::primitive_walker::PrimitiveWalker[][src]

pub trait PrimitiveWalker {
    fn next_primitive(&mut self) -> Option<Primitive>;
}

A trait that allows the user to remain generic over render yielding Primitives.

This trait is implemented for both the Primitives and WalkOwnedPrimitives render.

Required methods

fn next_primitive(&mut self) -> Option<Primitive>[src]

Yield the next Primitive in order of depth, bottom to top.

Loading content...

Implementors

Loading content...