#[repr(transparent)]pub struct AddressDevice(_);
Expand description
Address Device Command TRB
Implementations§
source§impl AddressDevice
impl AddressDevice
source§impl AddressDevice
impl AddressDevice
source§impl AddressDevice
impl AddressDevice
sourcepub fn set_input_context_pointer(&mut self, p: u64) -> &mut Self
pub fn set_input_context_pointer(&mut self, p: u64) -> &mut Self
Sets the value of the Input Context Pointer field.
Panics
This method panics if p
is not 16-byte aligned.
sourcepub fn input_context_pointer(&self) -> u64
pub fn input_context_pointer(&self) -> u64
Returns the value of the Input Context Pointer field.
sourcepub fn block_set_address_request(self) -> bool
pub fn block_set_address_request(self) -> bool
Returns the Block Set Address Request bit.
sourcepub fn set_block_set_address_request(&mut self) -> &mut Self
pub fn set_block_set_address_request(&mut self) -> &mut Self
Sets the Block Set Address Request bit.
sourcepub fn clear_block_set_address_request(&mut self) -> &mut Self
pub fn clear_block_set_address_request(&mut self) -> &mut Self
Clears the Block Set Address Request bit.
sourcepub fn set_slot_id(&mut self, value: u8) -> &mut Self
pub fn set_slot_id(&mut self, value: u8) -> &mut Self
Sets the value of the Slot ID field.
Trait Implementations§
source§impl AsRef<[u32]> for AddressDevice
impl AsRef<[u32]> for AddressDevice
source§impl Clone for AddressDevice
impl Clone for AddressDevice
source§fn clone(&self) -> AddressDevice
fn clone(&self) -> AddressDevice
Returns a copy 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 Debug for AddressDevice
impl Debug for AddressDevice
source§impl Default for AddressDevice
impl Default for AddressDevice
source§impl From<AddressDevice> for [u32; 4]
impl From<AddressDevice> for [u32; 4]
source§fn from(t: AddressDevice) -> Self
fn from(t: AddressDevice) -> Self
Converts to this type from the input type.
source§impl From<AddressDevice> for Allowed
impl From<AddressDevice> for Allowed
source§fn from(v: AddressDevice) -> Self
fn from(v: AddressDevice) -> Self
Converts to this type from the input type.
source§impl Hash for AddressDevice
impl Hash for AddressDevice
source§impl Ord for AddressDevice
impl Ord for AddressDevice
source§fn cmp(&self, other: &AddressDevice) -> Ordering
fn cmp(&self, other: &AddressDevice) -> Ordering
1.21.0 · source§fn 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
source§impl PartialEq<AddressDevice> for AddressDevice
impl PartialEq<AddressDevice> for AddressDevice
source§fn eq(&self, other: &AddressDevice) -> bool
fn eq(&self, other: &AddressDevice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AddressDevice> for AddressDevice
impl PartialOrd<AddressDevice> for AddressDevice
source§fn partial_cmp(&self, other: &AddressDevice) -> Option<Ordering>
fn partial_cmp(&self, other: &AddressDevice) -> Option<Ordering>
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 AddressDevice
impl Eq for AddressDevice
impl StructuralEq for AddressDevice
impl StructuralPartialEq for AddressDevice
Auto Trait Implementations§
impl RefUnwindSafe for AddressDevice
impl Send for AddressDevice
impl Sync for AddressDevice
impl Unpin for AddressDevice
impl UnwindSafe for AddressDevice
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