Skip to main content

IndicationNodeFactory

Trait IndicationNodeFactory 

Source
pub trait IndicationNodeFactory: Indication {
    // Required method
    fn create(
        &self,
        interaction_source: &InteractionSource,
    ) -> Box<dyn IndicationDrawNode>;
}
Expand description

Factory that creates a drawable indication node bound to an interaction source.

Required Methods§

Source

fn create( &self, interaction_source: &InteractionSource, ) -> Box<dyn IndicationDrawNode>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§