pub struct SystemModel {
pub color_ram: usize,
pub cpu_freq: u32,
pub cycles_per_frame: u16,
pub frame_buffer_size: (u32, u32),
pub memory_size: usize,
pub refresh_rate: f32,
pub sid_model: SidModel,
pub vic_model: VicModel,
pub viewport_offset: (u32, u32),
pub viewport_size: (u32, u32),
}
Fields§
§color_ram: usize
§cpu_freq: u32
§cycles_per_frame: u16
§frame_buffer_size: (u32, u32)
§memory_size: usize
§refresh_rate: f32
§sid_model: SidModel
§vic_model: VicModel
§viewport_offset: (u32, u32)
§viewport_size: (u32, u32)
Implementations§
Source§impl SystemModel
impl SystemModel
pub fn from(model: &str) -> SystemModel
pub fn c64_ntsc() -> SystemModel
pub fn c64_pal() -> SystemModel
Auto Trait Implementations§
impl Freeze for SystemModel
impl RefUnwindSafe for SystemModel
impl Send for SystemModel
impl Sync for SystemModel
impl Unpin for SystemModel
impl UnwindSafe for SystemModel
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