Struct crankstart::Playdate
source · [−]pub struct Playdate { /* private fields */ }
Implementations
sourceimpl Playdate
impl Playdate
pub fn new(
playdate: *const PlaydateAPI,
sprite_update: SpriteUpdateFunction,
sprite_draw: SpriteDrawFunction
) -> Self
Auto Trait Implementations
impl RefUnwindSafe for Playdate
impl !Send for Playdate
impl !Sync for Playdate
impl Unpin for Playdate
impl UnwindSafe for Playdate
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