Enum applevisor::InterruptType
source · pub enum InterruptType {
FIQ,
IRQ,
}
Expand description
The type that defines the vCPU’s interrupts.
Variants
FIQ
ARM Fast Interrupt Request.
IRQ
ARM Interrupt Request.
Trait Implementations
sourceimpl Clone for InterruptType
impl Clone for InterruptType
sourcefn clone(&self) -> InterruptType
fn clone(&self) -> InterruptType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InterruptType
impl Debug for InterruptType
sourceimpl Hash for InterruptType
impl Hash for InterruptType
sourceimpl Into<hv_interrupt_type_t> for InterruptType
impl Into<hv_interrupt_type_t> for InterruptType
sourcefn into(self) -> hv_interrupt_type_t
fn into(self) -> hv_interrupt_type_t
Converts this type into the (usually inferred) input type.
sourceimpl Ord for InterruptType
impl Ord for InterruptType
sourcefn cmp(&self, other: &InterruptType) -> Ordering
fn cmp(&self, other: &InterruptType) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<InterruptType> for InterruptType
impl PartialEq<InterruptType> for InterruptType
sourcefn eq(&self, other: &InterruptType) -> bool
fn eq(&self, other: &InterruptType) -> bool
sourceimpl PartialOrd<InterruptType> for InterruptType
impl PartialOrd<InterruptType> for InterruptType
sourcefn partial_cmp(&self, other: &InterruptType) -> Option<Ordering>
fn partial_cmp(&self, other: &InterruptType) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for InterruptType
impl Eq for InterruptType
impl StructuralEq for InterruptType
impl StructuralPartialEq for InterruptType
Auto Trait Implementations
impl RefUnwindSafe for InterruptType
impl Send for InterruptType
impl Sync for InterruptType
impl Unpin for InterruptType
impl UnwindSafe for InterruptType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more