#[non_exhaustive]pub enum ScanDirection {
NotDefined,
Normal,
Reversed,
Reserved,
}Expand description
Scan direction of the fast (horizontal) scan relative to H-sync, decoded from Display Device Data Block (0x0C) byte 7 bits 7:6.
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.
NotDefined
Scan direction not defined (0).
Normal
Fast scan follows the H-sync direction; slow scan follows V-sync direction (1).
Reversed
Fast scan direction is opposite to H-sync; slow scan opposite to V-sync (2).
Reserved
Reserved value (3).
Implementations§
Trait Implementations§
Source§impl Clone for ScanDirection
impl Clone for ScanDirection
Source§fn clone(&self) -> ScanDirection
fn clone(&self) -> ScanDirection
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 ScanDirection
impl Debug for ScanDirection
Source§impl PartialEq for ScanDirection
impl PartialEq for ScanDirection
impl Copy for ScanDirection
impl Eq for ScanDirection
impl StructuralPartialEq for ScanDirection
Auto Trait Implementations§
impl Freeze for ScanDirection
impl RefUnwindSafe for ScanDirection
impl Send for ScanDirection
impl Sync for ScanDirection
impl Unpin for ScanDirection
impl UnsafeUnpin for ScanDirection
impl UnwindSafe for ScanDirection
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