#[repr(u8)]pub enum AvcPanelCommand {
Show 59 variants
Select = 0,
Up = 1,
Down = 2,
Left = 3,
Right = 4,
RootMenu = 9,
ContentsMenu = 11,
FavoriteMenu = 12,
Exit = 13,
OnDemandMenu = 14,
AppsMenu = 15,
Key0 = 32,
Key1 = 33,
Key2 = 34,
Key3 = 35,
Key4 = 36,
Key5 = 37,
Key6 = 38,
Key7 = 39,
Key8 = 40,
Key9 = 41,
Dot = 42,
Enter = 43,
ChannelUp = 48,
ChannelDown = 49,
ChannelPrevious = 50,
InputSelect = 52,
Info = 53,
Help = 54,
PageUp = 55,
PageDown = 56,
Lock = 58,
Power = 64,
VolumeUp = 65,
VolumeDown = 66,
Mute = 67,
Play = 68,
Stop = 69,
Pause = 70,
Record = 71,
Rewind = 72,
FastForward = 73,
Eject = 74,
Forward = 75,
Backward = 76,
List = 77,
F1 = 113,
F2 = 114,
F3 = 115,
F4 = 116,
F5 = 117,
F6 = 118,
F7 = 119,
F8 = 120,
F9 = 121,
Red = 122,
Green = 123,
Blue = 124,
Yellow = 125,
}
Expand description
Defined by AV\C Panel specification.
Variants§
Select = 0
Up = 1
Down = 2
Left = 3
Right = 4
RootMenu = 9
ContentsMenu = 11
FavoriteMenu = 12
Exit = 13
OnDemandMenu = 14
AppsMenu = 15
Key0 = 32
Key1 = 33
Key2 = 34
Key3 = 35
Key4 = 36
Key5 = 37
Key6 = 38
Key7 = 39
Key8 = 40
Key9 = 41
Dot = 42
Enter = 43
ChannelUp = 48
ChannelDown = 49
ChannelPrevious = 50
InputSelect = 52
Info = 53
Help = 54
PageUp = 55
PageDown = 56
Lock = 58
Power = 64
VolumeUp = 65
VolumeDown = 66
Mute = 67
Play = 68
Stop = 69
Pause = 70
Record = 71
Rewind = 72
FastForward = 73
Eject = 74
Forward = 75
Backward = 76
List = 77
F1 = 113
F2 = 114
F3 = 115
F4 = 116
F5 = 117
F6 = 118
F7 = 119
F8 = 120
F9 = 121
Red = 122
Green = 123
Blue = 124
Yellow = 125
Implementations§
Source§impl AvcPanelCommand
impl AvcPanelCommand
pub fn from_primitive(prim: u8) -> Option<Self>
pub const fn into_primitive(self) -> u8
pub fn is_unknown(&self) -> bool
👎Deprecated: Strict enums should not use
is_unknown
Trait Implementations§
Source§impl Clone for AvcPanelCommand
impl Clone for AvcPanelCommand
Source§fn clone(&self) -> AvcPanelCommand
fn clone(&self) -> AvcPanelCommand
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 AvcPanelCommand
impl Debug for AvcPanelCommand
Source§impl<D: ResourceDialect> Decode<AvcPanelCommand, D> for AvcPanelCommand
impl<D: ResourceDialect> Decode<AvcPanelCommand, D> for AvcPanelCommand
Source§impl<D: ResourceDialect> Encode<AvcPanelCommand, D> for AvcPanelCommand
impl<D: ResourceDialect> Encode<AvcPanelCommand, D> for AvcPanelCommand
Source§impl Hash for AvcPanelCommand
impl Hash for AvcPanelCommand
Source§impl Ord for AvcPanelCommand
impl Ord for AvcPanelCommand
Source§fn cmp(&self, other: &AvcPanelCommand) -> Ordering
fn cmp(&self, other: &AvcPanelCommand) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AvcPanelCommand
impl PartialEq for AvcPanelCommand
Source§impl PartialOrd for AvcPanelCommand
impl PartialOrd for AvcPanelCommand
Source§impl TypeMarker for AvcPanelCommand
impl TypeMarker for AvcPanelCommand
Source§type Owned = AvcPanelCommand
type Owned = AvcPanelCommand
The owned Rust type which this FIDL type decodes into.
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for AvcPanelCommand
impl ValueTypeMarker for AvcPanelCommand
Source§type Borrowed<'a> = AvcPanelCommand
type Borrowed<'a> = AvcPanelCommand
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Copy for AvcPanelCommand
impl Eq for AvcPanelCommand
impl StructuralPartialEq for AvcPanelCommand
Auto Trait Implementations§
impl Freeze for AvcPanelCommand
impl RefUnwindSafe for AvcPanelCommand
impl Send for AvcPanelCommand
impl Sync for AvcPanelCommand
impl Unpin for AvcPanelCommand
impl UnwindSafe for AvcPanelCommand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)