#[repr(u8)]pub enum DeckControlMode {
Skip = 1,
Rewind = 2,
Stop = 3,
Eject = 4,
}
Expand description
used by CecOpcode::DeckControl
Variants§
Trait Implementations§
Source§impl Clone for DeckControlMode
impl Clone for DeckControlMode
Source§fn clone(&self) -> DeckControlMode
fn clone(&self) -> DeckControlMode
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 DeckControlMode
impl Debug for DeckControlMode
Source§impl From<DeckControlMode> for u8
impl From<DeckControlMode> for u8
Source§fn from(enum_value: DeckControlMode) -> Self
fn from(enum_value: DeckControlMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeckControlMode
impl PartialEq for DeckControlMode
Source§impl TryFrom<u8> for DeckControlMode
impl TryFrom<u8> for DeckControlMode
Source§type Error = TryFromPrimitiveError<DeckControlMode>
type Error = TryFromPrimitiveError<DeckControlMode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for DeckControlMode
impl TryFromPrimitive for DeckControlMode
const NAME: &'static str = "DeckControlMode"
type Primitive = u8
type Error = TryFromPrimitiveError<DeckControlMode>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for DeckControlMode
impl Eq for DeckControlMode
impl StructuralPartialEq for DeckControlMode
Auto Trait Implementations§
impl Freeze for DeckControlMode
impl RefUnwindSafe for DeckControlMode
impl Send for DeckControlMode
impl Sync for DeckControlMode
impl Unpin for DeckControlMode
impl UnwindSafe for DeckControlMode
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