logo
pub trait Symbol<T>: Debug where
    T: AsRef<Sprite>, 
{ fn name(&self) -> Option<String>; fn create_sprite(&self) -> T; }
Expand description

Defines an exported SWF symbol.

Required Methods

The name of this symbol.

Instantiate a sprite that displays this symbol.

Implementors