#[repr(transparent)]pub struct GetExtendedProperty(_);
Expand description
Get Extended Property Command TRB
Implementations§
source§impl GetExtendedProperty
impl GetExtendedProperty
sourcepub fn set_extended_property_context_pointer(&mut self, p: u64) -> &mut Self
pub fn set_extended_property_context_pointer(&mut self, p: u64) -> &mut Self
Sets the value of the Extended Property Context Pointer field.
Panics
This method panics if the p
is not 16-byte aligned.
sourcepub fn extended_property_context_pointer(&self) -> u64
pub fn extended_property_context_pointer(&self) -> u64
Returns the value of the Extended Property Context Pointer field.
sourcepub fn extended_capability_identifier(self) -> u16
pub fn extended_capability_identifier(self) -> u16
Returns the value of the Extended Capability Identifier field.
sourcepub fn set_extended_capability_identifier(&mut self, value: u16) -> &mut Self
pub fn set_extended_capability_identifier(&mut self, value: u16) -> &mut Self
Sets the value of the Extended Capability Identifier field.
sourcepub fn command_sub_type(self) -> u8
pub fn command_sub_type(self) -> u8
Returns the value of the Command Sub Type field.
sourcepub fn set_command_sub_type(&mut self, value: u8) -> &mut Self
pub fn set_command_sub_type(&mut self, value: u8) -> &mut Self
Sets the value of the Command Sub Type field.
sourcepub fn endpoint_id(self) -> u8
pub fn endpoint_id(self) -> u8
Returns the value of the Endpoint ID field.
sourcepub fn set_endpoint_id(&mut self, value: u8) -> &mut Self
pub fn set_endpoint_id(&mut self, value: u8) -> &mut Self
Sets the value of the Endpoint ID field.
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 GetExtendedProperty
impl AsRef<[u32]> for GetExtendedProperty
source§impl Clone for GetExtendedProperty
impl Clone for GetExtendedProperty
source§fn clone(&self) -> GetExtendedProperty
fn clone(&self) -> GetExtendedProperty
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 GetExtendedProperty
impl Debug for GetExtendedProperty
source§impl Default for GetExtendedProperty
impl Default for GetExtendedProperty
source§impl From<GetExtendedProperty> for [u32; 4]
impl From<GetExtendedProperty> for [u32; 4]
source§fn from(t: GetExtendedProperty) -> Self
fn from(t: GetExtendedProperty) -> Self
Converts to this type from the input type.
source§impl From<GetExtendedProperty> for Allowed
impl From<GetExtendedProperty> for Allowed
source§fn from(v: GetExtendedProperty) -> Self
fn from(v: GetExtendedProperty) -> Self
Converts to this type from the input type.
source§impl Hash for GetExtendedProperty
impl Hash for GetExtendedProperty
source§impl Ord for GetExtendedProperty
impl Ord for GetExtendedProperty
source§fn cmp(&self, other: &GetExtendedProperty) -> Ordering
fn cmp(&self, other: &GetExtendedProperty) -> 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<GetExtendedProperty> for GetExtendedProperty
impl PartialEq<GetExtendedProperty> for GetExtendedProperty
source§fn eq(&self, other: &GetExtendedProperty) -> bool
fn eq(&self, other: &GetExtendedProperty) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<GetExtendedProperty> for GetExtendedProperty
impl PartialOrd<GetExtendedProperty> for GetExtendedProperty
source§fn partial_cmp(&self, other: &GetExtendedProperty) -> Option<Ordering>
fn partial_cmp(&self, other: &GetExtendedProperty) -> 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 GetExtendedProperty
impl Eq for GetExtendedProperty
impl StructuralEq for GetExtendedProperty
impl StructuralPartialEq for GetExtendedProperty
Auto Trait Implementations§
impl RefUnwindSafe for GetExtendedProperty
impl Send for GetExtendedProperty
impl Sync for GetExtendedProperty
impl Unpin for GetExtendedProperty
impl UnwindSafe for GetExtendedProperty
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