Struct crankstart_sys::PlaydateAPI
source · [−]#[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_sys
file: *const playdate_file
graphics: *const playdate_graphics
sprite: *const playdate_sprite
display: *const playdate_display
sound: *const playdate_sound
lua: *const playdate_lua
json: *const playdate_json
scoreboards: *const playdate_scoreboards
Trait Implementations
sourceimpl Clone for PlaydateAPI
impl Clone for PlaydateAPI
sourcefn clone(&self) -> PlaydateAPI
fn clone(&self) -> PlaydateAPI
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PlaydateAPI
impl Debug for PlaydateAPI
sourceimpl Default for PlaydateAPI
impl Default for PlaydateAPI
sourceimpl PartialEq<PlaydateAPI> for PlaydateAPI
impl PartialEq<PlaydateAPI> for PlaydateAPI
sourcefn eq(&self, other: &PlaydateAPI) -> bool
fn eq(&self, other: &PlaydateAPI) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PlaydateAPI) -> bool
fn ne(&self, other: &PlaydateAPI) -> bool
This method tests for !=
.
impl Copy for PlaydateAPI
impl Eq for PlaydateAPI
impl StructuralEq for PlaydateAPI
impl StructuralPartialEq for PlaydateAPI
Auto Trait Implementations
impl RefUnwindSafe for PlaydateAPI
impl !Send for PlaydateAPI
impl !Sync for PlaydateAPI
impl Unpin for PlaydateAPI
impl UnwindSafe for PlaydateAPI
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more