Trait il2_iltags::tags::ILTagCreator[][src]

pub trait ILTagCreator: Send {
    fn create_empty_tag(&self, tag_id: u64) -> Box<dyn ILTag>;
}
Expand description

This trait must be implemented by all tag creators. A tag creator is used by ILTagCreatorEngine to create new tag instances.

Required methods

Creates a new boxed instance of the the class.

Arguments:

  • tag_id: The tag id.

Returns:

  • Box<dyn ILTag>: The new empty boxed tag.

Implementors