[−][src]Struct tetanes::nes::Nes
Implementations
impl Nes
[src]
pub fn draw_config_menu(&mut self, data: &mut StateData) -> NesResult<()>
[src]
impl Nes
[src]
pub fn save_replay(&mut self) -> NesResult<()>
[src]
Saves the replay buffer out to a file
impl Nes
[src]
pub fn new() -> Self
[src]
pub fn with_config(config: NesConfig) -> NesResult<Self>
[src]
Create a new NES emulation with passed in config settings
pub fn run(self) -> NesResult<()>
[src]
Begins emulation by starting the game engine loop
pub fn clock_frame(&mut self)
[src]
Steps the console the number of instructions required to generate an entire frame
pub fn clock_seconds(&mut self, seconds: f32)
[src]
Steps the console the number of seconds
Trait Implementations
impl Clocked for Nes
[src]
impl Clone for Nes
[src]
impl Debug for Nes
[src]
impl Default for Nes
[src]
impl Powered for Nes
[src]
fn power_on(&mut self)
[src]
Powers on the console
fn power_off(&mut self)
[src]
Powers off the console
fn reset(&mut self)
[src]
Soft-resets the console
fn power_cycle(&mut self)
[src]
Hard-resets the console
impl Savable for Nes
[src]
fn save<F: Write>(&self, fh: &mut F) -> NesResult<()>
[src]
fn load<F: Read>(&mut self, fh: &mut F) -> NesResult<()>
[src]
impl State for Nes
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Nes
impl !Send for Nes
impl !Sync for Nes
impl Unpin for Nes
impl !UnwindSafe for Nes
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,