pub struct InterpretedOam {
pub sprite_count: u8,
pub visible_count: u8,
pub sprites: Vec<OamSprite>,
}Expand description
Interpreted OAM data containing all 64 sprites.
Fields§
§sprite_count: u8Total number of sprites (always 64)
visible_count: u8Number of visible sprites (Y < 0xEF)
sprites: Vec<OamSprite>All 64 sprites with interpreted fields
Implementations§
Trait Implementations§
Source§impl Clone for InterpretedOam
impl Clone for InterpretedOam
Source§fn clone(&self) -> InterpretedOam
fn clone(&self) -> InterpretedOam
Returns a duplicate 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 Debug for InterpretedOam
impl Debug for InterpretedOam
Auto Trait Implementations§
impl Freeze for InterpretedOam
impl RefUnwindSafe for InterpretedOam
impl Send for InterpretedOam
impl Sync for InterpretedOam
impl Unpin for InterpretedOam
impl UnsafeUnpin for InterpretedOam
impl UnwindSafe for InterpretedOam
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more