#[repr(u8)]pub enum OutputType {
Hdmi = 0,
Bt = 1,
Optical = 2,
Headphone = 3,
Internal = 4,
Other = 5,
}Variants§
Implementations§
Trait Implementations§
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<'de> Deserialize<'de> for OutputType
impl<'de> Deserialize<'de> for OutputType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<OutputType> for u8
impl From<OutputType> for u8
Source§fn from(val: OutputType) -> Self
fn from(val: OutputType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OutputType
impl PartialEq for OutputType
Source§impl Serialize for OutputType
impl Serialize 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