pub struct PlaydateAPI {
pub system: PlaydateSystem,
pub file: PlaydateFileSystem,
pub graphics: PlaydateGraphics,
pub sprite: PlaydateSprite,
pub display: PlaydateDisplay,
pub sound: PlaydateSound,
pub scoreboards: PlaydateScoreboards,
pub lua: Lua,
/* private fields */
}Fields§
§system: PlaydateSystemSystem interaction
file: PlaydateFileSystemFilesystem operations
graphics: PlaydateGraphicsGraphics operations and drawing functions
sprite: PlaydateSpriteSprite and global sprite display list operations
display: PlaydateDisplayDisplay operations and management
sound: PlaydateSoundSound controls
scoreboards: PlaydateScoreboardsScoreboard operations (unimplemented)
lua: LuaLua VM interactions (unimplemented)
Implementations§
Source§impl PlaydateAPI
impl PlaydateAPI
Sourcepub fn get_raw_api(&self) -> *mut PlaydateAPI
pub fn get_raw_api(&self) -> *mut PlaydateAPI
Returns a raw pointer to the raw playdate-rs-sys API.
Trait Implementations§
impl Send for PlaydateAPI
impl Sync for PlaydateAPI
Auto Trait Implementations§
impl Freeze for PlaydateAPI
impl RefUnwindSafe for PlaydateAPI
impl Unpin for PlaydateAPI
impl UnwindSafe for PlaydateAPI
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more