[][src]Struct tetanes::nes::NesConfig

pub struct NesConfig {
    pub path: PathBuf,
    pub debug: bool,
    pub pause_in_bg: bool,
    pub fullscreen: bool,
    pub vsync: bool,
    pub sound_enabled: bool,
    pub record: bool,
    pub replay: Option<PathBuf>,
    pub rewind_enabled: bool,
    pub save_enabled: bool,
    pub clear_save: bool,
    pub concurrent_dpad: bool,
    pub save_slot: u8,
    pub scale: u32,
    pub speed: f32,
    pub genie_codes: Vec<String>,
}

Fields

path: PathBufdebug: boolpause_in_bg: boolfullscreen: boolvsync: boolsound_enabled: boolrecord: boolreplay: Option<PathBuf>rewind_enabled: boolsave_enabled: boolclear_save: boolconcurrent_dpad: boolsave_slot: u8scale: u32speed: f32genie_codes: Vec<String>

Implementations

impl NesConfig[src]

pub fn new() -> Self[src]

Trait Implementations

impl Clone for NesConfig[src]

impl Default for NesConfig[src]

impl Savable for NesConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,