pub struct ProvBgAddrs {
pub nt: u16,
pub at: u16,
pub pattern: u16,
}Expand description
The three VRAM addresses that produced one background tile.
Carried as a unit through the PPU’s internal fetch → display cascade
(latch → next → cur), so a promotion is one struct copy instead of
three separate field moves that could drift out of step with each other.
Fields§
§nt: u16Nametable address the tile number came from.
at: u16Attribute address the palette group came from. Carried rather than
derived, because an MMC5 vertical split supplies its own attribute
address that the standard $23C0 | ... arithmetic cannot produce.
pattern: u16CHR address of the pattern row (the low-plane address; the high plane is
+8).
Trait Implementations§
Source§impl Clone for ProvBgAddrs
impl Clone for ProvBgAddrs
Source§fn clone(&self) -> ProvBgAddrs
fn clone(&self) -> ProvBgAddrs
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 ProvBgAddrs
impl Debug for ProvBgAddrs
Source§impl Default for ProvBgAddrs
impl Default for ProvBgAddrs
Source§fn default() -> ProvBgAddrs
fn default() -> ProvBgAddrs
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProvBgAddrs
impl PartialEq for ProvBgAddrs
impl Copy for ProvBgAddrs
impl Eq for ProvBgAddrs
impl StructuralPartialEq for ProvBgAddrs
Auto Trait Implementations§
impl Freeze for ProvBgAddrs
impl RefUnwindSafe for ProvBgAddrs
impl Send for ProvBgAddrs
impl Sync for ProvBgAddrs
impl Unpin for ProvBgAddrs
impl UnsafeUnpin for ProvBgAddrs
impl UnwindSafe for ProvBgAddrs
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