pub struct Vram {
pub screen: Screen,
pub palette: AddressMem<[Palette; 16]>,
pub palette_map: AddressMem<[PalettePair; 8]>,
pub border_color: AddressMem<PaletteIdx>,
pub screen_offset: AddressMem<Point<i8>>,
pub mouse_cursor: AddressMem<MouseCursorByte>,
pub blit_segment: AddressMem<BlitRegister>,
}
Fields§
§screen: Screen
§palette: AddressMem<[Palette; 16]>
§palette_map: AddressMem<[PalettePair; 8]>
§border_color: AddressMem<PaletteIdx>
§screen_offset: AddressMem<Point<i8>>
§mouse_cursor: AddressMem<MouseCursorByte>
§blit_segment: AddressMem<BlitRegister>
Implementations§
source§impl Vram
impl Vram
pub fn switch_bank(&mut self, bank: VramBank)
pub fn clear(&mut self, idx: Option<PaletteIdx>)
Auto Trait Implementations§
impl RefUnwindSafe for Vram
impl !Send for Vram
impl !Sync for Vram
impl Unpin for Vram
impl UnwindSafe for Vram
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