#[non_exhaustive]#[repr(u32)]pub enum OutputType {
Modulator = 1,
Analog = 2,
Analogvgaoverlay = 3,
}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.
Trait Implementations§
Source§impl AsRef<u32> for OutputType
impl AsRef<u32> for OutputType
Source§impl Clone for OutputType
impl Clone for OutputType
Source§fn clone(&self) -> OutputType
fn clone(&self) -> OutputType
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 OutputType
impl Debug for OutputType
Source§impl Deref for OutputType
impl Deref for OutputType
Source§impl Display for OutputType
impl Display for OutputType
Source§impl From<OutputType> for u32
impl From<OutputType> for u32
Source§fn from(data: OutputType) -> Self
fn from(data: OutputType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OutputType
impl PartialEq for OutputType
Source§impl TryFrom<u32> for OutputType
impl TryFrom<u32> for OutputType
impl Copy for OutputType
impl Eq for OutputType
impl StructuralPartialEq for OutputType
Auto Trait Implementations§
impl Freeze for OutputType
impl RefUnwindSafe for OutputType
impl Send for OutputType
impl Sync for OutputType
impl Unpin for OutputType
impl UnwindSafe for OutputType
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