Enum cec_rs::CecMenuState
source · #[repr(u32)]pub enum CecMenuState {
Activated,
Deactivated,
}
Variants§
Trait Implementations§
source§impl Clone for CecMenuState
impl Clone for CecMenuState
source§fn clone(&self) -> CecMenuState
fn clone(&self) -> CecMenuState
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 CecMenuState
impl Debug for CecMenuState
source§impl From<CecMenuState> for u32
impl From<CecMenuState> for u32
source§fn from(enum_value: CecMenuState) -> Self
fn from(enum_value: CecMenuState) -> Self
Converts to this type from the input type.
source§impl Hash for CecMenuState
impl Hash for CecMenuState
source§impl PartialEq<CecMenuState> for CecMenuState
impl PartialEq<CecMenuState> for CecMenuState
source§fn eq(&self, other: &CecMenuState) -> bool
fn eq(&self, other: &CecMenuState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for CecMenuState
impl TryFrom<u32> for CecMenuState
impl Copy for CecMenuState
impl Eq for CecMenuState
impl StructuralEq for CecMenuState
impl StructuralPartialEq for CecMenuState
Auto Trait Implementations§
impl RefUnwindSafe for CecMenuState
impl Send for CecMenuState
impl Sync for CecMenuState
impl Unpin for CecMenuState
impl UnwindSafe for CecMenuState
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