Struct ds_rom::rom::raw::BannerBitmap
source · #[repr(C)]pub struct BannerBitmap(pub [u8; 512]);Expand description
A bitmap in the banner.
Tuple Fields§
§0: [u8; 512]Implementations§
source§impl BannerBitmap
impl BannerBitmap
sourcepub fn display<'a>(
&'a self,
palette: &'a BannerPalette,
) -> DisplayBannerBitmap<'a>
pub fn display<'a>( &'a self, palette: &'a BannerPalette, ) -> DisplayBannerBitmap<'a>
Creates a DisplayBannerBitmap which implements Display.
Trait Implementations§
source§impl Clone for BannerBitmap
impl Clone for BannerBitmap
source§fn clone(&self) -> BannerBitmap
fn clone(&self) -> BannerBitmap
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for BannerBitmap
impl Default for BannerBitmap
impl Copy for BannerBitmap
impl Pod for BannerBitmap
Auto Trait Implementations§
impl Freeze for BannerBitmap
impl RefUnwindSafe for BannerBitmap
impl Send for BannerBitmap
impl Sync for BannerBitmap
impl Unpin for BannerBitmap
impl UnwindSafe for BannerBitmap
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
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)