#[repr(u8)]pub enum IrqIndexMode {
DIRECT = 0,
PREV = 1,
REL = 2,
NEXT = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for IrqIndexMode
impl Clone for IrqIndexMode
Source§fn clone(&self) -> IrqIndexMode
fn clone(&self) -> IrqIndexMode
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IrqIndexMode
impl Debug for IrqIndexMode
Source§impl PartialEq for IrqIndexMode
impl PartialEq for IrqIndexMode
Source§impl TryFrom<u8> for IrqIndexMode
impl TryFrom<u8> for IrqIndexMode
Source§type Error = TryFromPrimitiveError<IrqIndexMode>
type Error = TryFromPrimitiveError<IrqIndexMode>
The type returned in the event of a conversion error.
Source§fn try_from(
number: u8,
) -> Result<IrqIndexMode, TryFromPrimitiveError<IrqIndexMode>>
fn try_from( number: u8, ) -> Result<IrqIndexMode, TryFromPrimitiveError<IrqIndexMode>>
Performs the conversion.
Source§impl TryFromPrimitive for IrqIndexMode
impl TryFromPrimitive for IrqIndexMode
const NAME: &'static str = "IrqIndexMode"
type Primitive = u8
type Error = TryFromPrimitiveError<IrqIndexMode>
fn try_from_primitive( number: <IrqIndexMode as TryFromPrimitive>::Primitive, ) -> Result<IrqIndexMode, TryFromPrimitiveError<IrqIndexMode>>
impl Copy for IrqIndexMode
impl Eq for IrqIndexMode
impl StructuralPartialEq for IrqIndexMode
Auto Trait Implementations§
impl Freeze for IrqIndexMode
impl RefUnwindSafe for IrqIndexMode
impl Send for IrqIndexMode
impl Sync for IrqIndexMode
impl Unpin for IrqIndexMode
impl UnwindSafe for IrqIndexMode
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