pub struct RetroVideoInfo { /* private fields */ }
Implementations§
Source§impl RetroVideoInfo
impl RetroVideoInfo
pub fn new(frame_rate: f64, width: u32, height: u32) -> RetroVideoInfo
pub fn with_aspect_ratio(self, aspect_ratio: f32) -> Self
pub fn with_max(self, width: u32, height: u32) -> Self
pub fn with_pixel_format(self, pixel_format: RetroPixelFormat) -> Self
Auto Trait Implementations§
impl Freeze for RetroVideoInfo
impl RefUnwindSafe for RetroVideoInfo
impl Send for RetroVideoInfo
impl Sync for RetroVideoInfo
impl Unpin for RetroVideoInfo
impl UnwindSafe for RetroVideoInfo
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