Enum rgbds_obj::SectionType [−][src]
pub enum SectionType { Wram0, Vram, Romx(SectionData), Rom0(SectionData), Hram, Wramx, Sram, Oam, }
A section memory type, and associated data if applicable.
Variants
Romx(SectionData)
Rom0(SectionData)
Implementations
impl SectionType
[src]
impl SectionType
[src]pub fn data(&self) -> Option<&SectionData>
[src]
pub fn data(&self) -> Option<&SectionData>
[src]The section’s ROM data, if any.
Trait Implementations
impl Debug for SectionType
[src]
impl Debug for SectionType
[src]Auto Trait Implementations
impl RefUnwindSafe for SectionType
impl Send for SectionType
impl Sync for SectionType
impl Unpin for SectionType
impl UnwindSafe for SectionType
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more