#[repr(transparent)]pub struct SetExtendedProperty(_);
Expand description
Set Extended Property Command TRB
Implementations§
source§impl SetExtendedProperty
impl SetExtendedProperty
sourcepub fn extended_capability_identifier(self) -> u16
pub fn extended_capability_identifier(self) -> u16
Returns the value of the Extended Cpaability 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 Cpaability Identifier field.
sourcepub fn capability_parameter(self) -> u8
pub fn capability_parameter(self) -> u8
Returns the value of the Capability Parameter field.
sourcepub fn set_capability_parameter(&mut self, value: u8) -> &mut Self
pub fn set_capability_parameter(&mut self, value: u8) -> &mut Self
Sets the value of the Capability Parameter 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 SetExtendedProperty
impl AsRef<[u32]> for SetExtendedProperty
source§impl Clone for SetExtendedProperty
impl Clone for SetExtendedProperty
source§fn clone(&self) -> SetExtendedProperty
fn clone(&self) -> SetExtendedProperty
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 SetExtendedProperty
impl Debug for SetExtendedProperty
source§impl Default for SetExtendedProperty
impl Default for SetExtendedProperty
source§impl From<SetExtendedProperty> for [u32; 4]
impl From<SetExtendedProperty> for [u32; 4]
source§fn from(t: SetExtendedProperty) -> Self
fn from(t: SetExtendedProperty) -> Self
Converts to this type from the input type.
source§impl From<SetExtendedProperty> for Allowed
impl From<SetExtendedProperty> for Allowed
source§fn from(v: SetExtendedProperty) -> Self
fn from(v: SetExtendedProperty) -> Self
Converts to this type from the input type.
source§impl Hash for SetExtendedProperty
impl Hash for SetExtendedProperty
source§impl Ord for SetExtendedProperty
impl Ord for SetExtendedProperty
source§fn cmp(&self, other: &SetExtendedProperty) -> Ordering
fn cmp(&self, other: &SetExtendedProperty) -> 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<SetExtendedProperty> for SetExtendedProperty
impl PartialEq<SetExtendedProperty> for SetExtendedProperty
source§fn eq(&self, other: &SetExtendedProperty) -> bool
fn eq(&self, other: &SetExtendedProperty) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SetExtendedProperty> for SetExtendedProperty
impl PartialOrd<SetExtendedProperty> for SetExtendedProperty
source§fn partial_cmp(&self, other: &SetExtendedProperty) -> Option<Ordering>
fn partial_cmp(&self, other: &SetExtendedProperty) -> 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 SetExtendedProperty
impl Eq for SetExtendedProperty
impl StructuralEq for SetExtendedProperty
impl StructuralPartialEq for SetExtendedProperty
Auto Trait Implementations§
impl RefUnwindSafe for SetExtendedProperty
impl Send for SetExtendedProperty
impl Sync for SetExtendedProperty
impl Unpin for SetExtendedProperty
impl UnwindSafe for SetExtendedProperty
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