Trait playdate_sprite::TypedSprite
source · pub trait TypedSprite: AsRaw<Type = LCDSprite> + SpriteApi {
type Userdata;
const FREE_ON_DROP: bool;
}Expand description
Represents strictly typed sprite, includes associated user-data and free-on-drop flag.
Required Associated Types§
Required Associated Constants§
sourceconst FREE_ON_DROP: bool
const FREE_ON_DROP: bool
Should be freed when sprite is dropped.
Object Safety§
This trait is not object safe.