Enum moa_m68k::state::InterruptPriority
source · #[repr(u8)]pub enum InterruptPriority {
NoInterrupt = 0,
Level1 = 1,
Level2 = 2,
Level3 = 3,
Level4 = 4,
Level5 = 5,
Level6 = 6,
Level7 = 7,
}
Variants§
Implementations§
source§impl InterruptPriority
impl InterruptPriority
pub fn from_u8(priority: u8) -> InterruptPriority
Trait Implementations§
source§impl Clone for InterruptPriority
impl Clone for InterruptPriority
source§fn clone(&self) -> InterruptPriority
fn clone(&self) -> InterruptPriority
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 InterruptPriority
impl Debug for InterruptPriority
source§impl PartialEq for InterruptPriority
impl PartialEq for InterruptPriority
source§fn eq(&self, other: &InterruptPriority) -> bool
fn eq(&self, other: &InterruptPriority) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InterruptPriority
impl Eq for InterruptPriority
impl StructuralPartialEq for InterruptPriority
Auto Trait Implementations§
impl Freeze for InterruptPriority
impl RefUnwindSafe for InterruptPriority
impl Send for InterruptPriority
impl Sync for InterruptPriority
impl Unpin for InterruptPriority
impl UnwindSafe for InterruptPriority
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, S> IntoAddress<T> for Swhere
T: FromAddress<S>,
impl<T, S> IntoAddress<T> for Swhere
T: FromAddress<S>,
source§fn into_address(self) -> T
fn into_address(self) -> T
Translate the given address into an address of type
T