Enum VideoModeType
#[repr(u8)]pub enum VideoModeType {
NonBurstSyncPulses = 0,
NonBurstSyncEvents = 1,
Burst = 2,
_RESERVED_3 = 3,
}Variants§
NonBurstSyncPulses = 0
Non-burst with sync pulses
NonBurstSyncEvents = 1
Non-burst with sync events
Burst = 2
Burst mode
_RESERVED_3 = 3
Implementations§
§impl VideoModeType
impl VideoModeType
pub const fn from_bits(val: u8) -> VideoModeType
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for VideoModeType
impl Clone for VideoModeType
§fn clone(&self) -> VideoModeType
fn clone(&self) -> VideoModeType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VideoModeType
impl Eq for VideoModeType
§impl From<VideoModeType> for u8
impl From<VideoModeType> for u8
§fn from(val: VideoModeType) -> u8
fn from(val: VideoModeType) -> u8
Converts to this type from the input type.
§impl From<u8> for VideoModeType
impl From<u8> for VideoModeType
§fn from(val: u8) -> VideoModeType
fn from(val: u8) -> VideoModeType
Converts to this type from the input type.
§impl Ord for VideoModeType
impl Ord for VideoModeType
§fn cmp(&self, other: &VideoModeType) -> Ordering
fn cmp(&self, other: &VideoModeType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for VideoModeType
impl PartialEq for VideoModeType
§impl PartialOrd for VideoModeType
impl PartialOrd for VideoModeType
impl StructuralPartialEq for VideoModeType
Auto Trait Implementations§
impl Freeze for VideoModeType
impl RefUnwindSafe for VideoModeType
impl Send for VideoModeType
impl Sync for VideoModeType
impl Unpin for VideoModeType
impl UnsafeUnpin for VideoModeType
impl UnwindSafe for VideoModeType
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