pub struct StandardTiming {
pub horizontal_resolution: u16,
pub aspect_ratio: f32,
pub refresh_rate: u8,
}Expand description
A standard timing which contains enough information to derive the other parameters from the GTF.
Fields§
§horizontal_resolution: u16§aspect_ratio: f32§refresh_rate: u8Trait Implementations§
Source§impl Clone for StandardTiming
impl Clone for StandardTiming
Source§fn clone(&self) -> StandardTiming
fn clone(&self) -> StandardTiming
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StandardTiming
impl Debug for StandardTiming
impl Copy for StandardTiming
Auto Trait Implementations§
impl Freeze for StandardTiming
impl RefUnwindSafe for StandardTiming
impl Send for StandardTiming
impl Sync for StandardTiming
impl Unpin for StandardTiming
impl UnwindSafe for StandardTiming
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