pub enum SectionType {
Wram0,
Vram,
Romx(SectionData),
Rom0(SectionData),
Hram,
Wramx,
Sram,
Oam,
}
Expand description
A section memory type, and associated data if applicable.
Variants§
Implementations§
Source§impl SectionType
impl SectionType
Sourcepub fn data(&self) -> Option<&SectionData>
pub fn data(&self) -> Option<&SectionData>
The section’s ROM data, if any.
Trait Implementations§
Source§impl Debug for SectionType
impl Debug for SectionType
Auto Trait Implementations§
impl Freeze for SectionType
impl RefUnwindSafe for SectionType
impl Send for SectionType
impl Sync for SectionType
impl Unpin for SectionType
impl UnwindSafe for SectionType
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