Enum cec_rs::CecPlayMode
source · #[repr(u32)]pub enum CecPlayMode {
Show 15 variants
PlayForward,
PlayReverse,
PlayStill,
FastForwardMinSpeed,
FastForwardMediumSpeed,
FastForwardMaxSpeed,
FastReverseMinSpeed,
FastReverseMediumSpeed,
FastReverseMaxSpeed,
SlowForwardMinSpeed,
SlowForwardMediumSpeed,
SlowForwardMaxSpeed,
SlowReverseMinSpeed,
SlowReverseMediumSpeed,
SlowReverseMaxSpeed,
}
Variants§
PlayForward
PlayReverse
PlayStill
FastForwardMinSpeed
FastForwardMediumSpeed
FastForwardMaxSpeed
FastReverseMinSpeed
FastReverseMediumSpeed
FastReverseMaxSpeed
SlowForwardMinSpeed
SlowForwardMediumSpeed
SlowForwardMaxSpeed
SlowReverseMinSpeed
SlowReverseMediumSpeed
SlowReverseMaxSpeed
Trait Implementations§
source§impl Clone for CecPlayMode
impl Clone for CecPlayMode
source§fn clone(&self) -> CecPlayMode
fn clone(&self) -> CecPlayMode
Returns a copy 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 CecPlayMode
impl Debug for CecPlayMode
source§impl From<CecPlayMode> for u32
impl From<CecPlayMode> for u32
source§fn from(enum_value: CecPlayMode) -> Self
fn from(enum_value: CecPlayMode) -> Self
Converts to this type from the input type.
source§impl Hash for CecPlayMode
impl Hash for CecPlayMode
source§impl PartialEq<CecPlayMode> for CecPlayMode
impl PartialEq<CecPlayMode> for CecPlayMode
source§fn eq(&self, other: &CecPlayMode) -> bool
fn eq(&self, other: &CecPlayMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for CecPlayMode
impl TryFrom<u32> for CecPlayMode
impl Copy for CecPlayMode
impl Eq for CecPlayMode
impl StructuralEq for CecPlayMode
impl StructuralPartialEq for CecPlayMode
Auto Trait Implementations§
impl RefUnwindSafe for CecPlayMode
impl Send for CecPlayMode
impl Sync for CecPlayMode
impl Unpin for CecPlayMode
impl UnwindSafe for CecPlayMode
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