pub struct DeviceCapabilities2(/* private fields */);Expand description
Device Capabilities 2 Register
Implementations§
Source§impl DeviceCapabilities2
impl DeviceCapabilities2
Sourcepub const fn completion_timeout_ranges_supported(&self) -> u32
pub const fn completion_timeout_ranges_supported(&self) -> u32
Bits: 0..4
Sourcepub const fn with_completion_timeout_ranges_supported_checked(
self,
value: u32,
) -> Result<Self, ()>
pub const fn with_completion_timeout_ranges_supported_checked( self, value: u32, ) -> Result<Self, ()>
Bits: 0..4
Sourcepub const fn with_completion_timeout_ranges_supported(self, value: u32) -> Self
pub const fn with_completion_timeout_ranges_supported(self, value: u32) -> Self
Bits: 0..4
Sourcepub const fn set_completion_timeout_ranges_supported(&mut self, value: u32)
pub const fn set_completion_timeout_ranges_supported(&mut self, value: u32)
Bits: 0..4
Sourcepub const fn set_completion_timeout_ranges_supported_checked(
&mut self,
value: u32,
) -> Result<(), ()>
pub const fn set_completion_timeout_ranges_supported_checked( &mut self, value: u32, ) -> Result<(), ()>
Bits: 0..4
Sourcepub const fn completion_timeout_disable_supported(&self) -> bool
pub const fn completion_timeout_disable_supported(&self) -> bool
Bits: 4..5
Sourcepub const fn with_completion_timeout_disable_supported_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_completion_timeout_disable_supported_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 4..5
Sourcepub const fn with_completion_timeout_disable_supported(
self,
value: bool,
) -> Self
pub const fn with_completion_timeout_disable_supported( self, value: bool, ) -> Self
Bits: 4..5
Sourcepub const fn set_completion_timeout_disable_supported(&mut self, value: bool)
pub const fn set_completion_timeout_disable_supported(&mut self, value: bool)
Bits: 4..5
Sourcepub const fn set_completion_timeout_disable_supported_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_completion_timeout_disable_supported_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 4..5
Sourcepub const fn ari_forwarding_supported(&self) -> bool
pub const fn ari_forwarding_supported(&self) -> bool
Bits: 5..6
Sourcepub const fn with_ari_forwarding_supported_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_ari_forwarding_supported_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 5..6
Sourcepub const fn with_ari_forwarding_supported(self, value: bool) -> Self
pub const fn with_ari_forwarding_supported(self, value: bool) -> Self
Bits: 5..6
Sourcepub const fn set_ari_forwarding_supported(&mut self, value: bool)
pub const fn set_ari_forwarding_supported(&mut self, value: bool)
Bits: 5..6
Sourcepub const fn set_ari_forwarding_supported_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_ari_forwarding_supported_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 5..6
Sourcepub const fn atomic_op_routing_supported(&self) -> bool
pub const fn atomic_op_routing_supported(&self) -> bool
Bits: 6..7
Sourcepub const fn with_atomic_op_routing_supported_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_atomic_op_routing_supported_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 6..7
Sourcepub const fn with_atomic_op_routing_supported(self, value: bool) -> Self
pub const fn with_atomic_op_routing_supported(self, value: bool) -> Self
Bits: 6..7
Sourcepub const fn set_atomic_op_routing_supported(&mut self, value: bool)
pub const fn set_atomic_op_routing_supported(&mut self, value: bool)
Bits: 6..7
Sourcepub const fn set_atomic_op_routing_supported_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_atomic_op_routing_supported_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 6..7
Sourcepub const fn atomic_op_32_bit_completer_supported(&self) -> bool
pub const fn atomic_op_32_bit_completer_supported(&self) -> bool
Bits: 7..8
Sourcepub const fn with_atomic_op_32_bit_completer_supported_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_atomic_op_32_bit_completer_supported_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 7..8
Sourcepub const fn with_atomic_op_32_bit_completer_supported(
self,
value: bool,
) -> Self
pub const fn with_atomic_op_32_bit_completer_supported( self, value: bool, ) -> Self
Bits: 7..8
Sourcepub const fn set_atomic_op_32_bit_completer_supported(&mut self, value: bool)
pub const fn set_atomic_op_32_bit_completer_supported(&mut self, value: bool)
Bits: 7..8
Sourcepub const fn set_atomic_op_32_bit_completer_supported_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_atomic_op_32_bit_completer_supported_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 7..8
Sourcepub const fn atomic_op_64_bit_completer_supported(&self) -> bool
pub const fn atomic_op_64_bit_completer_supported(&self) -> bool
Bits: 8..9
Sourcepub const fn with_atomic_op_64_bit_completer_supported_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_atomic_op_64_bit_completer_supported_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 8..9
Sourcepub const fn with_atomic_op_64_bit_completer_supported(
self,
value: bool,
) -> Self
pub const fn with_atomic_op_64_bit_completer_supported( self, value: bool, ) -> Self
Bits: 8..9
Sourcepub const fn set_atomic_op_64_bit_completer_supported(&mut self, value: bool)
pub const fn set_atomic_op_64_bit_completer_supported(&mut self, value: bool)
Bits: 8..9
Sourcepub const fn set_atomic_op_64_bit_completer_supported_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_atomic_op_64_bit_completer_supported_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 8..9
Sourcepub const fn cas_128_bit_completer_supported(&self) -> bool
pub const fn cas_128_bit_completer_supported(&self) -> bool
Bits: 9..10
Sourcepub const fn with_cas_128_bit_completer_supported_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_cas_128_bit_completer_supported_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 9..10
Sourcepub const fn with_cas_128_bit_completer_supported(self, value: bool) -> Self
pub const fn with_cas_128_bit_completer_supported(self, value: bool) -> Self
Bits: 9..10
Sourcepub const fn set_cas_128_bit_completer_supported(&mut self, value: bool)
pub const fn set_cas_128_bit_completer_supported(&mut self, value: bool)
Bits: 9..10
Sourcepub const fn set_cas_128_bit_completer_supported_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_cas_128_bit_completer_supported_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 9..10
Sourcepub const fn no_ro_enabled_pr_pr_passing(&self) -> bool
pub const fn no_ro_enabled_pr_pr_passing(&self) -> bool
Bits: 10..11
Sourcepub const fn with_no_ro_enabled_pr_pr_passing_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_no_ro_enabled_pr_pr_passing_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 10..11
Sourcepub const fn with_no_ro_enabled_pr_pr_passing(self, value: bool) -> Self
pub const fn with_no_ro_enabled_pr_pr_passing(self, value: bool) -> Self
Bits: 10..11
Sourcepub const fn set_no_ro_enabled_pr_pr_passing(&mut self, value: bool)
pub const fn set_no_ro_enabled_pr_pr_passing(&mut self, value: bool)
Bits: 10..11
Sourcepub const fn set_no_ro_enabled_pr_pr_passing_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_no_ro_enabled_pr_pr_passing_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 10..11
Sourcepub const fn ltr_mechanism_supported(&self) -> bool
pub const fn ltr_mechanism_supported(&self) -> bool
Bits: 11..12
Sourcepub const fn with_ltr_mechanism_supported_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_ltr_mechanism_supported_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 11..12
Sourcepub const fn with_ltr_mechanism_supported(self, value: bool) -> Self
pub const fn with_ltr_mechanism_supported(self, value: bool) -> Self
Bits: 11..12
Sourcepub const fn set_ltr_mechanism_supported(&mut self, value: bool)
pub const fn set_ltr_mechanism_supported(&mut self, value: bool)
Bits: 11..12
Sourcepub const fn set_ltr_mechanism_supported_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_ltr_mechanism_supported_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 11..12
Sourcepub const fn tph_completer_supported(&self) -> u32
pub const fn tph_completer_supported(&self) -> u32
Bits: 12..14
Sourcepub const fn with_tph_completer_supported_checked(
self,
value: u32,
) -> Result<Self, ()>
pub const fn with_tph_completer_supported_checked( self, value: u32, ) -> Result<Self, ()>
Bits: 12..14
Sourcepub const fn with_tph_completer_supported(self, value: u32) -> Self
pub const fn with_tph_completer_supported(self, value: u32) -> Self
Bits: 12..14
Sourcepub const fn set_tph_completer_supported(&mut self, value: u32)
pub const fn set_tph_completer_supported(&mut self, value: u32)
Bits: 12..14
Sourcepub const fn set_tph_completer_supported_checked(
&mut self,
value: u32,
) -> Result<(), ()>
pub const fn set_tph_completer_supported_checked( &mut self, value: u32, ) -> Result<(), ()>
Bits: 12..14
Sourcepub const fn ten_bit_tag_completer_supported(&self) -> bool
pub const fn ten_bit_tag_completer_supported(&self) -> bool
Bits: 16..17
Sourcepub const fn with_ten_bit_tag_completer_supported_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_ten_bit_tag_completer_supported_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 16..17
Sourcepub const fn with_ten_bit_tag_completer_supported(self, value: bool) -> Self
pub const fn with_ten_bit_tag_completer_supported(self, value: bool) -> Self
Bits: 16..17
Sourcepub const fn set_ten_bit_tag_completer_supported(&mut self, value: bool)
pub const fn set_ten_bit_tag_completer_supported(&mut self, value: bool)
Bits: 16..17
Sourcepub const fn set_ten_bit_tag_completer_supported_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_ten_bit_tag_completer_supported_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 16..17
Sourcepub const fn ten_bit_tag_requester_supported(&self) -> bool
pub const fn ten_bit_tag_requester_supported(&self) -> bool
Bits: 17..18
Sourcepub const fn with_ten_bit_tag_requester_supported_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_ten_bit_tag_requester_supported_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 17..18
Sourcepub const fn with_ten_bit_tag_requester_supported(self, value: bool) -> Self
pub const fn with_ten_bit_tag_requester_supported(self, value: bool) -> Self
Bits: 17..18
Sourcepub const fn set_ten_bit_tag_requester_supported(&mut self, value: bool)
pub const fn set_ten_bit_tag_requester_supported(&mut self, value: bool)
Bits: 17..18
Sourcepub const fn set_ten_bit_tag_requester_supported_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_ten_bit_tag_requester_supported_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 17..18
Sourcepub const fn obff_supported(&self) -> u32
pub const fn obff_supported(&self) -> u32
Bits: 18..20
Sourcepub const fn with_obff_supported_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_obff_supported_checked(self, value: u32) -> Result<Self, ()>
Bits: 18..20
Sourcepub const fn with_obff_supported(self, value: u32) -> Self
pub const fn with_obff_supported(self, value: u32) -> Self
Bits: 18..20
Sourcepub const fn set_obff_supported(&mut self, value: u32)
pub const fn set_obff_supported(&mut self, value: u32)
Bits: 18..20
Sourcepub const fn extended_fmt_field_supported(&self) -> bool
pub const fn extended_fmt_field_supported(&self) -> bool
Bits: 20..21
Sourcepub const fn with_extended_fmt_field_supported_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_extended_fmt_field_supported_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 20..21
Sourcepub const fn with_extended_fmt_field_supported(self, value: bool) -> Self
pub const fn with_extended_fmt_field_supported(self, value: bool) -> Self
Bits: 20..21
Sourcepub const fn set_extended_fmt_field_supported(&mut self, value: bool)
pub const fn set_extended_fmt_field_supported(&mut self, value: bool)
Bits: 20..21
Sourcepub const fn set_extended_fmt_field_supported_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_extended_fmt_field_supported_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 20..21
Sourcepub const fn end_end_tlp_prefix_supported(&self) -> bool
pub const fn end_end_tlp_prefix_supported(&self) -> bool
Bits: 21..22
Sourcepub const fn with_end_end_tlp_prefix_supported_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_end_end_tlp_prefix_supported_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 21..22
Sourcepub const fn with_end_end_tlp_prefix_supported(self, value: bool) -> Self
pub const fn with_end_end_tlp_prefix_supported(self, value: bool) -> Self
Bits: 21..22
Sourcepub const fn set_end_end_tlp_prefix_supported(&mut self, value: bool)
pub const fn set_end_end_tlp_prefix_supported(&mut self, value: bool)
Bits: 21..22
Sourcepub const fn set_end_end_tlp_prefix_supported_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_end_end_tlp_prefix_supported_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 21..22
Sourcepub const fn max_end_end_tlp_prefixes(&self) -> u32
pub const fn max_end_end_tlp_prefixes(&self) -> u32
Bits: 22..24
Sourcepub const fn with_max_end_end_tlp_prefixes_checked(
self,
value: u32,
) -> Result<Self, ()>
pub const fn with_max_end_end_tlp_prefixes_checked( self, value: u32, ) -> Result<Self, ()>
Bits: 22..24
Sourcepub const fn with_max_end_end_tlp_prefixes(self, value: u32) -> Self
pub const fn with_max_end_end_tlp_prefixes(self, value: u32) -> Self
Bits: 22..24
Sourcepub const fn set_max_end_end_tlp_prefixes(&mut self, value: u32)
pub const fn set_max_end_end_tlp_prefixes(&mut self, value: u32)
Bits: 22..24
Sourcepub const fn set_max_end_end_tlp_prefixes_checked(
&mut self,
value: u32,
) -> Result<(), ()>
pub const fn set_max_end_end_tlp_prefixes_checked( &mut self, value: u32, ) -> Result<(), ()>
Bits: 22..24
Sourcepub const fn emergency_power_reduction_supported(&self) -> u32
pub const fn emergency_power_reduction_supported(&self) -> u32
Bits: 24..26
Sourcepub const fn with_emergency_power_reduction_supported_checked(
self,
value: u32,
) -> Result<Self, ()>
pub const fn with_emergency_power_reduction_supported_checked( self, value: u32, ) -> Result<Self, ()>
Bits: 24..26
Sourcepub const fn with_emergency_power_reduction_supported(self, value: u32) -> Self
pub const fn with_emergency_power_reduction_supported(self, value: u32) -> Self
Bits: 24..26
Sourcepub const fn set_emergency_power_reduction_supported(&mut self, value: u32)
pub const fn set_emergency_power_reduction_supported(&mut self, value: u32)
Bits: 24..26
Sourcepub const fn set_emergency_power_reduction_supported_checked(
&mut self,
value: u32,
) -> Result<(), ()>
pub const fn set_emergency_power_reduction_supported_checked( &mut self, value: u32, ) -> Result<(), ()>
Bits: 24..26
Sourcepub const fn emergency_power_reduction_init_required(&self) -> bool
pub const fn emergency_power_reduction_init_required(&self) -> bool
Bits: 26..27
Sourcepub const fn with_emergency_power_reduction_init_required_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_emergency_power_reduction_init_required_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 26..27
Sourcepub const fn with_emergency_power_reduction_init_required(
self,
value: bool,
) -> Self
pub const fn with_emergency_power_reduction_init_required( self, value: bool, ) -> Self
Bits: 26..27
Sourcepub const fn set_emergency_power_reduction_init_required(&mut self, value: bool)
pub const fn set_emergency_power_reduction_init_required(&mut self, value: bool)
Bits: 26..27
Sourcepub const fn set_emergency_power_reduction_init_required_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_emergency_power_reduction_init_required_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 26..27
Sourcepub const fn dmwr_completer_supported(&self) -> bool
pub const fn dmwr_completer_supported(&self) -> bool
Bits: 28..29
Sourcepub const fn with_dmwr_completer_supported_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_dmwr_completer_supported_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 28..29
Sourcepub const fn with_dmwr_completer_supported(self, value: bool) -> Self
pub const fn with_dmwr_completer_supported(self, value: bool) -> Self
Bits: 28..29
Sourcepub const fn set_dmwr_completer_supported(&mut self, value: bool)
pub const fn set_dmwr_completer_supported(&mut self, value: bool)
Bits: 28..29
Sourcepub const fn set_dmwr_completer_supported_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_dmwr_completer_supported_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 28..29
Sourcepub const fn dmwr_lengths_supported(&self) -> u32
pub const fn dmwr_lengths_supported(&self) -> u32
Bits: 29..31
Sourcepub const fn with_dmwr_lengths_supported_checked(
self,
value: u32,
) -> Result<Self, ()>
pub const fn with_dmwr_lengths_supported_checked( self, value: u32, ) -> Result<Self, ()>
Bits: 29..31
Sourcepub const fn with_dmwr_lengths_supported(self, value: u32) -> Self
pub const fn with_dmwr_lengths_supported(self, value: u32) -> Self
Bits: 29..31
Sourcepub const fn set_dmwr_lengths_supported(&mut self, value: u32)
pub const fn set_dmwr_lengths_supported(&mut self, value: u32)
Bits: 29..31
Sourcepub const fn set_dmwr_lengths_supported_checked(
&mut self,
value: u32,
) -> Result<(), ()>
pub const fn set_dmwr_lengths_supported_checked( &mut self, value: u32, ) -> Result<(), ()>
Bits: 29..31
Sourcepub const fn frs_supported(&self) -> bool
pub const fn frs_supported(&self) -> bool
Bits: 31..32
Sourcepub const fn with_frs_supported_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_frs_supported_checked(self, value: bool) -> Result<Self, ()>
Bits: 31..32
Sourcepub const fn with_frs_supported(self, value: bool) -> Self
pub const fn with_frs_supported(self, value: bool) -> Self
Bits: 31..32
Sourcepub const fn set_frs_supported(&mut self, value: bool)
pub const fn set_frs_supported(&mut self, value: bool)
Bits: 31..32
Trait Implementations§
Source§impl Clone for DeviceCapabilities2
impl Clone for DeviceCapabilities2
Source§fn clone(&self) -> DeviceCapabilities2
fn clone(&self) -> DeviceCapabilities2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DeviceCapabilities2
impl Debug for DeviceCapabilities2
Source§impl Default for DeviceCapabilities2
impl Default for DeviceCapabilities2
Source§impl From<DeviceCapabilities2> for u32
impl From<DeviceCapabilities2> for u32
Source§fn from(v: DeviceCapabilities2) -> u32
fn from(v: DeviceCapabilities2) -> u32
Source§impl From<u32> for DeviceCapabilities2
impl From<u32> for DeviceCapabilities2
Source§impl FromBytes for DeviceCapabilities2where
u32: FromBytes,
impl FromBytes for DeviceCapabilities2where
u32: FromBytes,
§fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
§fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
§fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
&Self. Read more§fn mut_from_bytes(
source: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_bytes(
source: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
§fn mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
§fn mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
Source§impl FromZeros for DeviceCapabilities2where
u32: FromZeros,
impl FromZeros for DeviceCapabilities2where
u32: FromZeros,
§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Self from zeroed bytes. Read more§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Box<Self> from zeroed bytes. Read more§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Vec<Self> from zeroed bytes. Read moreSource§impl Inspect for DeviceCapabilities2
impl Inspect for DeviceCapabilities2
Source§impl IntoBytes for DeviceCapabilities2where
u32: IntoBytes,
impl IntoBytes for DeviceCapabilities2where
u32: IntoBytes,
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl KnownLayout for DeviceCapabilities2where
Self: Sized,
impl KnownLayout for DeviceCapabilities2where
Self: Sized,
Source§type PointerMetadata = ()
type PointerMetadata = ()
Self. Read more