#[repr(C)]
pub enum hv_interrupt_type_t {
HV_INTERRUPT_TYPE_FIQ,
HV_INTERRUPT_TYPE_IRQ,
}Expand description
The type that defines the vCPU’s interrupts.
Variants
HV_INTERRUPT_TYPE_FIQ
ARM Fast Interrupt Request.
HV_INTERRUPT_TYPE_IRQ
ARM Interrupt Request.
Trait Implementations
sourceimpl Clone for hv_interrupt_type_t
impl Clone for hv_interrupt_type_t
sourcefn clone(&self) -> hv_interrupt_type_t
fn clone(&self) -> hv_interrupt_type_t
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 hv_interrupt_type_t
impl Debug for hv_interrupt_type_t
sourceimpl Hash for hv_interrupt_type_t
impl Hash for hv_interrupt_type_t
sourceimpl Ord for hv_interrupt_type_t
impl Ord for hv_interrupt_type_t
sourcefn cmp(&self, other: &hv_interrupt_type_t) -> Ordering
fn cmp(&self, other: &hv_interrupt_type_t) -> 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<hv_interrupt_type_t> for hv_interrupt_type_t
impl PartialEq<hv_interrupt_type_t> for hv_interrupt_type_t
sourcefn eq(&self, other: &hv_interrupt_type_t) -> bool
fn eq(&self, other: &hv_interrupt_type_t) -> bool
sourceimpl PartialOrd<hv_interrupt_type_t> for hv_interrupt_type_t
impl PartialOrd<hv_interrupt_type_t> for hv_interrupt_type_t
sourcefn partial_cmp(&self, other: &hv_interrupt_type_t) -> Option<Ordering>
fn partial_cmp(&self, other: &hv_interrupt_type_t) -> 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 hv_interrupt_type_t
impl Eq for hv_interrupt_type_t
impl StructuralEq for hv_interrupt_type_t
impl StructuralPartialEq for hv_interrupt_type_t
Auto Trait Implementations
impl RefUnwindSafe for hv_interrupt_type_t
impl Send for hv_interrupt_type_t
impl Sync for hv_interrupt_type_t
impl Unpin for hv_interrupt_type_t
impl UnwindSafe for hv_interrupt_type_t
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