#[repr(C)]
pub struct PlaydateAPI { pub system: *const playdate_sys, pub file: *const playdate_file, pub graphics: *const playdate_graphics, pub sprite: *const playdate_sprite, pub display: *const playdate_display, pub sound: *const playdate_sound, pub lua: *const playdate_lua, pub json: *const playdate_json, pub scoreboards: *const playdate_scoreboards, }

Fields

system: *const playdate_sysfile: *const playdate_filegraphics: *const playdate_graphicssprite: *const playdate_spritedisplay: *const playdate_displaysound: *const playdate_soundlua: *const playdate_luajson: *const playdate_jsonscoreboards: *const playdate_scoreboards

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.