RenderStepConfig

Trait RenderStepConfig 

Source
pub trait RenderStepConfig: Debug + Any {
    // Required methods
    fn boxed_clone(&self) -> Box<dyn RenderStepConfig>;
    fn into_render_step(self: Box<Self>) -> Box<dyn RenderStepTrait>;

    // Provided methods
    fn render_step_type(&self) -> RenderStepType { ... }
    fn is_mutual_exclusive_to(&self, other: &dyn RenderStepConfig) -> bool { ... }
}
Expand description

Helper trait to deal with custom render steps.

Required Methods§

Source

fn boxed_clone(&self) -> Box<dyn RenderStepConfig>

Returns a boxed clone of the current object.

Source

fn into_render_step(self: Box<Self>) -> Box<dyn RenderStepTrait>

Creates the actual render step and returned it as a box.

Provided Methods§

Source

fn render_step_type(&self) -> RenderStepType

Returns the type of this render step.

Source

fn is_mutual_exclusive_to(&self, other: &dyn RenderStepConfig) -> bool

Returns true if self is mutual exclusive to other, false otherwise.

Implementors§