usestd::fmt;usecrate::engine::d2::display::Sprite;/// Defines an exported SWF symbol.
pubtraitSymbol<T>: fmt::Debug
where
T: AsRef<Sprite>,
{/// The name of this symbol.
fnname(&self)->Option<String>;/// Instantiate a sprite that displays this symbol.
fncreate_sprite(&self)-> T;}