Struct agb::display::bitmap4::Bitmap4[][src]

#[non_exhaustive]
pub struct Bitmap4 {}

Implementations

Draws point on specified page at (x, y) coordinates with colour index whose colour is specified in the background palette. Panics if (x, y) is out of the bounds of the screen.

Draws point on the non-current page at (x, y) coordinates with colour index whose colour is specified in the background palette. Panics if (x, y) is out of the bounds of the screen.

pub fn set_palette_entry(&mut self, entry: u32, colour: u16)

Sets the colour of colour index in the background palette.

Flips page, changing the Gameboy advance to draw the contents of the other page

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

Performs the conversion.

Performs the conversion.

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.