VesaDisplayDeviceBlock

Struct VesaDisplayDeviceBlock 

Source
pub struct VesaDisplayDeviceBlock {
Show 37 fields pub interface_type: VesaDisplayDeviceInterfaceType, pub num_channels: Option<i32>, pub interface_version: i32, pub interface_release: i32, pub content_protection: VesaDisplayDeviceContentProtection, pub min_clock_freq_mhz: i32, pub max_clock_freq_mhz: i32, pub native_horiz_pixels: i32, pub native_vert_pixels: i32, pub aspect_ratio: f32, pub default_orientation: VesaDisplayDeviceDefaultOrientation, pub rotation_cap: VesaDisplayDeviceRotationCap, pub zero_pixel_location: VesaDisplayDeviceZeroPixelLocation, pub scan_direction: VesaDisplayDeviceScanDirection, pub subpixel_layout: VesaDisplayDeviceSubpixelLayout, pub horiz_pitch_mm: f32, pub vert_pitch_mm: f32, pub dithering_type: VesaDisplayDeviceDitheringType, pub direct_drive: bool, pub overdrive_not_recommended: bool, pub deinterlacing: bool, pub audio_support: bool, pub separate_audio_inputs: bool, pub audio_input_override: bool, pub audio_delay_provided: bool, pub audio_delay_ms: i32, pub frame_rate_conversion: VesaDisplayDeviceFrameRateConversion, pub frame_rate_range_hz: Option<i32>, pub frame_rate_native_hz: i32, pub bit_depth_interface: i32, pub bit_depth_display: i32, pub additional_primary_chromaticities_len: usize, pub additional_primary_chromaticities: [VesaDisplayDeviceAdditionalPrimaryChromaticity; 3], pub resp_time_transition: VesaDisplayDeviceRespTimeTransition, pub resp_time_ms: i32, pub overscan_horiz_pct: i32, pub overscan_vert_pct: i32,
}
Available on crate feature v0_3 only.
Expand description

VESA Display Device Data Block (DDDB), defined in VESA Display Device Data Block (DDDB) Standard version 1.

Fields§

§interface_type: VesaDisplayDeviceInterfaceType§num_channels: Option<i32>§interface_version: i32§interface_release: i32§content_protection: VesaDisplayDeviceContentProtection§min_clock_freq_mhz: i32§max_clock_freq_mhz: i32§native_horiz_pixels: i32§native_vert_pixels: i32§aspect_ratio: f32§default_orientation: VesaDisplayDeviceDefaultOrientation§rotation_cap: VesaDisplayDeviceRotationCap§zero_pixel_location: VesaDisplayDeviceZeroPixelLocation§scan_direction: VesaDisplayDeviceScanDirection§subpixel_layout: VesaDisplayDeviceSubpixelLayout§horiz_pitch_mm: f32§vert_pitch_mm: f32§dithering_type: VesaDisplayDeviceDitheringType§direct_drive: bool§overdrive_not_recommended: bool§deinterlacing: bool§audio_support: bool§separate_audio_inputs: bool§audio_input_override: bool§audio_delay_provided: bool§audio_delay_ms: i32§frame_rate_conversion: VesaDisplayDeviceFrameRateConversion§frame_rate_range_hz: Option<i32>§frame_rate_native_hz: i32§bit_depth_interface: i32§bit_depth_display: i32§additional_primary_chromaticities_len: usize§additional_primary_chromaticities: [VesaDisplayDeviceAdditionalPrimaryChromaticity; 3]§resp_time_transition: VesaDisplayDeviceRespTimeTransition§resp_time_ms: i32§overscan_horiz_pct: i32§overscan_vert_pct: i32

Trait Implementations§

Source§

impl Clone for VesaDisplayDeviceBlock

Source§

fn clone(&self) -> VesaDisplayDeviceBlock

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for VesaDisplayDeviceBlock

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<di_cta_vesa_display_device_block> for VesaDisplayDeviceBlock

Source§

fn from(value: di_cta_vesa_display_device_block) -> VesaDisplayDeviceBlock

Converts to this type from the input type.
Source§

impl Copy for VesaDisplayDeviceBlock

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.