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