Struct xhci::ring::trb::transfer::Isoch [−][src]
Isoch TRB
Implementations
impl Isoch
[src]
#[must_use]pub fn into_raw(self) -> [u32; 4]
[src]
Returns the wrapped array.
#[must_use]pub fn cycle_bit(&self) -> bool
[src]
Returns the value of the Cycle Bit.
pub fn set_cycle_bit(&mut self, b: bool) -> &mut Self
[src]
Sets the value of the Cycle Bit.
impl Isoch
[src]
#[must_use]pub fn new() -> Self
[src]
Creates a new Isoch TRB.
This method sets the sets the value of the TRB Type field properly. All the other fieldds are set to 0.
impl Isoch
[src]
pub fn set_interrupt_on_completion(&mut self, ioc: bool) -> &mut Self
[src]
Sets the value of the Interrupt On Completion field.
#[must_use]pub fn interrupt_on_completion(&self) -> bool
[src]
Returns the value of the Interrupt On Completion field.
impl Isoch
[src]
pub fn set_data_buffer_pointer(&mut self, p: u64) -> &mut Self
[src]
Sets the value of the Data Buffer Pointer.
#[must_use]pub fn data_buffer_pointer(&self) -> u64
[src]
Returns the value of the Data Buffer Pointer.
pub fn set_trb_transfer_length(&mut self, l: u32) -> &mut Self
[src]
Sets the value of the TRB Transfer Length field.
#[must_use]pub fn trb_transfer_length(&self) -> u32
[src]
Returns the value of the TRB Transfer Length field.
pub fn set_td_size_or_tbc(&mut self, t: u8) -> &mut Self
[src]
Sets the value of the TD Size/TBC field.
#[must_use]pub fn td_size_or_tbc(&self) -> u8
[src]
Returns the value of the TD Size/TBC field.
pub fn set_interrupter_target(&mut self, t: u16) -> &mut Self
[src]
Sets the value of the Interrupter Target.
#[must_use]pub fn interrupter_target(&self) -> u16
[src]
Returns the value of the Interrupter Target.
pub fn set_evaluate_next_trb(&mut self, ent: bool) -> &mut Self
[src]
Sets the value of the Evaluate Next TRB field.
#[must_use]pub fn evaluate_next_trb(&self) -> bool
[src]
Returns the value of the Evaluate Next TRB field.
pub fn set_interrupt_on_short_packet(&mut self, isp: bool) -> &mut Self
[src]
Sets the value of the Interrupt-on Short Packet field.
#[must_use]pub fn interrupt_on_short_packet(&self) -> bool
[src]
Returns the value of the Interrupt-on Short Packet field.
pub fn set_no_snoop(&mut self, s: bool) -> &mut Self
[src]
Sets the value of the No Snoop field.
#[must_use]pub fn no_snoop(&self) -> bool
[src]
Returns the value of the No Snoop field.
pub fn set_chain_bit(&mut self, b: bool) -> &mut Self
[src]
Sets the value of the Chain Bit field.
#[must_use]pub fn chain_bit(&self) -> bool
[src]
Returns the value of the Chain Bit field.
pub fn set_immediate_data(&mut self, idt: bool) -> &mut Self
[src]
Sets the value of the Immediate Data field.
#[must_use]pub fn immediate_data(&self) -> bool
[src]
Returns the value of the Immediate Data.
pub fn set_transfer_burst_count(&mut self, c: u8) -> &mut Self
[src]
Sets the value of the Transfer Burst Count field.
#[must_use]pub fn transfer_burst_count(&self) -> u8
[src]
Returns the value of the Transfer Burst Count field.
pub fn set_block_event_interrupt(&mut self, bei: bool) -> &mut Self
[src]
Sets the value of the Block Event Interrupt field.
#[must_use]pub fn block_event_interrupt(&self) -> bool
[src]
Returns the value of the Block Event Interrupt field.
pub fn set_transfer_last_burst_packet_count(&mut self, c: u8) -> &mut Self
[src]
Sets the value of the Transfer Last Burst Packet Count field.
#[must_use]pub fn transfer_last_burst_packet_count(&self) -> u8
[src]
Returns the value of the Transfer Last Burst Packet Count field.
pub fn set_frame_id(&mut self, id: u16) -> &mut Self
[src]
Sets the value of the Frame ID field.
#[must_use]pub fn frame_id(&self) -> u16
[src]
Returns the value of the Frame ID field.
pub fn set_start_isoch_asap(&mut self, sia: bool) -> &mut Self
[src]
Sets the value of the Start Isoch ASAP field.
#[must_use]pub fn start_isoch_asap(&self) -> bool
[src]
Returns the value of the Start Isoch ASAP field.
Trait Implementations
impl AsRef<[u32]> for Isoch
[src]
impl Clone for Isoch
[src]
fn clone(&self) -> Isoch
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Isoch
[src]
impl Debug for Isoch
[src]
impl Default for Isoch
[src]
impl Eq for Isoch
[src]
impl From<Isoch> for Allowed
[src]
impl Hash for Isoch
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Isoch
[src]
fn cmp(&self, other: &Isoch) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Isoch> for Isoch
[src]
impl PartialOrd<Isoch> for Isoch
[src]
fn partial_cmp(&self, other: &Isoch) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for Isoch
[src]
impl StructuralPartialEq for Isoch
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,