pub struct HdSprite {
pub chr_tile_index: u32,
pub palette_colors: u32,
}Expand description
One sprite covering a pixel, for the HD-pack multi-sprite conditions
(spriteAtPosition / spriteNearby). Carries just the identity those
conditions match on. Output-only telemetry.
Fields§
§chr_tile_index: u32Absolute CHR-ROM tile index (chr_phys/16), or HD_CHR_RAM for CHR-RAM.
palette_colors: u32The sprite’s packed PaletteColors (Mesen key form).
Trait Implementations§
impl Copy for HdSprite
impl Eq for HdSprite
impl StructuralPartialEq for HdSprite
Auto Trait Implementations§
impl Freeze for HdSprite
impl RefUnwindSafe for HdSprite
impl Send for HdSprite
impl Sync for HdSprite
impl Unpin for HdSprite
impl UnsafeUnpin for HdSprite
impl UnwindSafe for HdSprite
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