pub struct PowerOnConfig {
pub ram: PowerOnRam,
}Expand description
v2.1.7 P5 — power-on hardware configuration for a freshly-constructed or power-cycled machine.
A small, forward-extensible bundle of the “what state does the silicon come
up in” knobs that are otherwise scattered. Currently just the work-RAM fill
(PowerOnRam); the PPU-revision and power-up-palette knobs are exposed as
their own setters on Nes since they live in the PPU. All fields default
to the established behavior, so PowerOnConfig::default is byte-identical.
Fields§
§ram: PowerOnRamWork-RAM power-on fill. Defaults to PowerOnRam::Zeroed.
Trait Implementations§
Source§impl Clone for PowerOnConfig
impl Clone for PowerOnConfig
Source§fn clone(&self) -> PowerOnConfig
fn clone(&self) -> PowerOnConfig
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 PowerOnConfig
impl Debug for PowerOnConfig
Source§impl Default for PowerOnConfig
impl Default for PowerOnConfig
Source§fn default() -> PowerOnConfig
fn default() -> PowerOnConfig
Returns the “default value” for a type. Read more
Source§impl Hash for PowerOnConfig
impl Hash for PowerOnConfig
Source§impl PartialEq for PowerOnConfig
impl PartialEq for PowerOnConfig
impl Copy for PowerOnConfig
impl Eq for PowerOnConfig
impl StructuralPartialEq for PowerOnConfig
Auto Trait Implementations§
impl Freeze for PowerOnConfig
impl RefUnwindSafe for PowerOnConfig
impl Send for PowerOnConfig
impl Sync for PowerOnConfig
impl Unpin for PowerOnConfig
impl UnsafeUnpin for PowerOnConfig
impl UnwindSafe for PowerOnConfig
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