Struct libretro_rs::RetroInstance[][src]

pub struct RetroInstance<T: RetroCore> {
    pub core: Option<T>,
    pub audio_sample: retro_audio_sample_t,
    pub audio_sample_batch: retro_audio_sample_batch_t,
    pub environment: retro_environment_t,
    pub input_poll: retro_input_poll_t,
    pub input_state: retro_input_state_t,
    pub video_refresh: retro_video_refresh_t,
}
Expand description

This is the glue layer between a RetroCore implementation, and the libretro API.

Fields

core: Option<T>audio_sample: retro_audio_sample_taudio_sample_batch: retro_audio_sample_batch_tenvironment: retro_environment_tinput_poll: retro_input_poll_tinput_state: retro_input_state_tvideo_refresh: retro_video_refresh_t

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.