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
fn create_sprite(&self) -> T
fn create_sprite(&self) -> T
Instantiate a sprite that displays this symbol.