#[non_exhaustive]#[repr(u8)]pub enum PlayMode {
Show 15 variants
Forward = 36,
Reverse = 32,
Still = 37,
FastForwardMinimum = 5,
FastForwardMedium = 6,
FastForwardMaximum = 7,
FastReverseMinimum = 9,
FastReverseMedium = 10,
FastReverseMaximum = 11,
SlowForwardMinimum = 21,
SlowForwardMedium = 22,
SlowForwardMaximum = 23,
SlowReverseMinimum = 25,
SlowReverseMedium = 26,
SlowReverseMaximum = 27,
}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.
Forward = 36
Reverse = 32
Still = 37
FastForwardMinimum = 5
FastForwardMedium = 6
FastForwardMaximum = 7
FastReverseMinimum = 9
FastReverseMedium = 10
FastReverseMaximum = 11
SlowForwardMinimum = 21
SlowForwardMedium = 22
SlowForwardMaximum = 23
SlowReverseMinimum = 25
SlowReverseMedium = 26
SlowReverseMaximum = 27
Trait Implementations§
Source§impl OperandEncodable for PlayMode
impl OperandEncodable for PlayMode
Source§impl TryFromPrimitive for PlayMode
impl TryFromPrimitive for PlayMode
impl Copy for PlayMode
impl Eq for PlayMode
impl StructuralPartialEq for PlayMode
Auto Trait Implementations§
impl Freeze for PlayMode
impl RefUnwindSafe for PlayMode
impl Send for PlayMode
impl Sync for PlayMode
impl Unpin for PlayMode
impl UnsafeUnpin for PlayMode
impl UnwindSafe for PlayMode
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