pub struct StandardTiming {
pub horizontal_resolution: u16,
pub aspect_ratio: AspectRatioSymbol,
pub refresh_rate: u8,
}Expand description
Standard Timing.
Fields§
§horizontal_resolution: u16Number of horizontal addressable pixels.
The range is 256 to 2288 pixels, in increments of 8 pixels.
Raw value is encoded as horizontal_resolution / 8 - 31.
aspect_ratio: AspectRatioSymbolImage aspect ratio.
refresh_rate: u8Field refresh rate.
The field refresh rate in Hz.
The range is 60 to 123 Hz.
Raw value is encoded as refresh_rate - 60.
Trait Implementations§
Source§impl Assemble for StandardTiming
impl Assemble for StandardTiming
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
Source§impl<'de> Deserialize<'de> for StandardTiming
impl<'de> Deserialize<'de> for StandardTiming
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for StandardTiming
impl Serialize 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more