pub struct Tic80 {
pub display: Display,
pub gamepads: [GamePadEnum; 4],
pub keyboard: Keyboard,
pub mouse: AddressMem<Mouse>,
pub sound: AddressMem<[SoundRegister; 4]>,
pub sfx: AddressMem<[Sfx; 64]>,
pub music_patterns: AddressMem<[MusicPattern; 60]>,
pub sprite_flags: AddressMem<[u8; 512]>,
pub persistent_mem: AddressMem<[u8; 1024]>,
}
Fields§
§display: Display
§gamepads: [GamePadEnum; 4]
§keyboard: Keyboard
§mouse: AddressMem<Mouse>
§sound: AddressMem<[SoundRegister; 4]>
§sfx: AddressMem<[Sfx; 64]>
§music_patterns: AddressMem<[MusicPattern; 60]>
§sprite_flags: AddressMem<[u8; 512]>
§persistent_mem: AddressMem<[u8; 1024]>
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Tic80
impl !Send for Tic80
impl !Sync for Tic80
impl Unpin for Tic80
impl UnwindSafe for Tic80
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