#[repr(transparent)]pub struct MtlInterruptStatus2(pub u32);Expand description
MTL Interrupt Status.
Tuple Fields§
§0: u32Implementations§
Source§impl MtlInterruptStatus2
impl MtlInterruptStatus2
Sourcepub const fn q0is(&self) -> bool
pub const fn q0is(&self) -> bool
Queue 0 Interrupt status. Raw bit values: false (0) = Inactive: Queue 0 Interrupt status not detected.; true (1) = Active: Queue 0 Interrupt status detected.
Sourcepub const fn set_q0is(&mut self, val: bool)
pub const fn set_q0is(&mut self, val: bool)
Queue 0 Interrupt status. Raw bit values: false (0) = Inactive: Queue 0 Interrupt status not detected.; true (1) = Active: Queue 0 Interrupt status detected.
Trait Implementations§
Source§impl Clone for MtlInterruptStatus2
impl Clone for MtlInterruptStatus2
Source§fn clone(&self) -> MtlInterruptStatus2
fn clone(&self) -> MtlInterruptStatus2
Returns a duplicate 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 Default for MtlInterruptStatus2
impl Default for MtlInterruptStatus2
Source§fn default() -> MtlInterruptStatus2
fn default() -> MtlInterruptStatus2
Returns the “default value” for a type. Read more
Source§impl PartialEq for MtlInterruptStatus2
impl PartialEq for MtlInterruptStatus2
impl Copy for MtlInterruptStatus2
impl Eq for MtlInterruptStatus2
impl StructuralPartialEq for MtlInterruptStatus2
Auto Trait Implementations§
impl Freeze for MtlInterruptStatus2
impl RefUnwindSafe for MtlInterruptStatus2
impl Send for MtlInterruptStatus2
impl Sync for MtlInterruptStatus2
impl Unpin for MtlInterruptStatus2
impl UnwindSafe for MtlInterruptStatus2
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