#[non_exhaustive]pub enum SyncDefinition {
AnalogComposite {
serrations: bool,
sync_on_all_rgb: bool,
},
BipolarAnalogComposite {
serrations: bool,
sync_on_all_rgb: bool,
},
DigitalComposite {
serrations: bool,
h_sync_positive: bool,
},
DigitalSeparate {
v_sync_positive: bool,
h_sync_positive: bool,
},
}Expand description
Sync signal definition decoded from DTD byte 17 bits 4–1.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AnalogComposite
Analog composite sync (bit 4 = 0, bit 3 = 0).
Fields
BipolarAnalogComposite
Bipolar analog composite sync (bit 4 = 0, bit 3 = 1).
Fields
DigitalComposite
Digital composite sync on H-sync pin (bit 4 = 1, bit 3 = 0).
Fields
DigitalSeparate
Digital separate sync (bit 4 = 1, bit 3 = 1).
Trait Implementations§
Source§impl Clone for SyncDefinition
impl Clone for SyncDefinition
Source§fn clone(&self) -> SyncDefinition
fn clone(&self) -> SyncDefinition
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 SyncDefinition
impl Debug for SyncDefinition
Source§impl PartialEq for SyncDefinition
impl PartialEq for SyncDefinition
impl Copy for SyncDefinition
impl Eq for SyncDefinition
impl StructuralPartialEq for SyncDefinition
Auto Trait Implementations§
impl Freeze for SyncDefinition
impl RefUnwindSafe for SyncDefinition
impl Send for SyncDefinition
impl Sync for SyncDefinition
impl Unpin for SyncDefinition
impl UnsafeUnpin for SyncDefinition
impl UnwindSafe for SyncDefinition
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