#[repr(transparent)]pub struct EventData(_);
Expand description
Event Data TRB
Implementations§
source§impl EventData
impl EventData
sourcepub fn interrupt_on_completion(self) -> bool
pub fn interrupt_on_completion(self) -> bool
Returns the Interrupt On Completion bit.
sourcepub fn set_interrupt_on_completion(&mut self) -> &mut Self
pub fn set_interrupt_on_completion(&mut self) -> &mut Self
Sets the Interrupt On Completion bit.
sourcepub fn clear_interrupt_on_completion(&mut self) -> &mut Self
pub fn clear_interrupt_on_completion(&mut self) -> &mut Self
Clears the Interrupt On Completion bit.
source§impl EventData
impl EventData
sourcepub fn set_event_data(&mut self, d: u64) -> &mut Self
pub fn set_event_data(&mut self, d: u64) -> &mut Self
Sets the value of the Event Data field.
sourcepub fn event_data(&self) -> u64
pub fn event_data(&self) -> u64
Returns the value of the Event Data field.
sourcepub fn interrupter_target(self) -> u16
pub fn interrupter_target(self) -> u16
Returns the value of the Interrupter Target field.
sourcepub fn set_interrupter_target(&mut self, value: u16) -> &mut Self
pub fn set_interrupter_target(&mut self, value: u16) -> &mut Self
Sets the value of the Interrupter Target field.
sourcepub fn evaluate_next_trb(self) -> bool
pub fn evaluate_next_trb(self) -> bool
Returns the Evaluate Next TRB bit.
sourcepub fn set_evaluate_next_trb(&mut self) -> &mut Self
pub fn set_evaluate_next_trb(&mut self) -> &mut Self
Sets the Evaluate Next TRB bit.
sourcepub fn clear_evaluate_next_trb(&mut self) -> &mut Self
pub fn clear_evaluate_next_trb(&mut self) -> &mut Self
Clears the Evaluate Next TRB bit.
sourcepub fn set_chain_bit(&mut self) -> &mut Self
pub fn set_chain_bit(&mut self) -> &mut Self
Sets the Chain bit bit.
sourcepub fn clear_chain_bit(&mut self) -> &mut Self
pub fn clear_chain_bit(&mut self) -> &mut Self
Clears the Chain bit bit.
sourcepub fn block_event_interrupt(self) -> bool
pub fn block_event_interrupt(self) -> bool
Returns the Block Event Interrupt bit.
sourcepub fn set_block_event_interrupt(&mut self) -> &mut Self
pub fn set_block_event_interrupt(&mut self) -> &mut Self
Sets the Block Event Interrupt bit.
sourcepub fn clear_block_event_interrupt(&mut self) -> &mut Self
pub fn clear_block_event_interrupt(&mut self) -> &mut Self
Clears the Block Event Interrupt bit.
Trait Implementations§
source§impl Ord for EventData
impl Ord for EventData
source§impl PartialEq<EventData> for EventData
impl PartialEq<EventData> for EventData
source§impl PartialOrd<EventData> for EventData
impl PartialOrd<EventData> for EventData
1.0.0 · source§fn 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 EventData
impl Eq for EventData
impl StructuralEq for EventData
impl StructuralPartialEq for EventData
Auto Trait Implementations§
impl RefUnwindSafe for EventData
impl Send for EventData
impl Sync for EventData
impl Unpin for EventData
impl UnwindSafe for EventData
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