#[repr(C)]pub struct CLCW { /* private fields */ }
Implementations§
source§impl CLCW
impl CLCW
sourcepub const fn into_bytes(self) -> [u8; 4]
pub const fn into_bytes(self) -> [u8; 4]
sourcepub const fn from_bytes(bytes: [u8; 4]) -> Self
pub const fn from_bytes(bytes: [u8; 4]) -> Self
Converts the given bytes directly into the bitfield struct.
source§impl CLCW
impl CLCW
sourcepub fn control_word_type(&self) -> <B1 as Specifier>::InOut
pub fn control_word_type(&self) -> <B1 as Specifier>::InOut
Returns the value of control_word_type.
sourcepub fn control_word_type_or_err(
&self
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn control_word_type_or_err( &self ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of control_word_type.
#Errors
If the returned value contains an invalid bit pattern for control_word_type.
sourcepub fn with_control_word_type(self, new_val: <B1 as Specifier>::InOut) -> Self
pub fn with_control_word_type(self, new_val: <B1 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of control_word_type set to the given value.
#Panics
If the given value is out of bounds for control_word_type.
sourcepub fn with_control_word_type_checked(
self,
new_val: <B1 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_control_word_type_checked( self, new_val: <B1 as Specifier>::InOut ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of control_word_type set to the given value.
#Errors
If the given value is out of bounds for control_word_type.
sourcepub fn set_control_word_type(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_control_word_type(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of control_word_type to the given value.
#Panics
If the given value is out of bounds for control_word_type.
sourcepub fn set_control_word_type_checked(
&mut self,
new_val: <B1 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_control_word_type_checked( &mut self, new_val: <B1 as Specifier>::InOut ) -> Result<(), OutOfBounds>
Sets the value of control_word_type to the given value.
#Errors
If the given value is out of bounds for control_word_type.
sourcepub fn clcw_version_number(&self) -> <B2 as Specifier>::InOut
pub fn clcw_version_number(&self) -> <B2 as Specifier>::InOut
Returns the value of clcw_version_number.
sourcepub fn clcw_version_number_or_err(
&self
) -> Result<<B2 as Specifier>::InOut, InvalidBitPattern<<B2 as Specifier>::Bytes>>
pub fn clcw_version_number_or_err( &self ) -> Result<<B2 as Specifier>::InOut, InvalidBitPattern<<B2 as Specifier>::Bytes>>
Returns the value of clcw_version_number.
#Errors
If the returned value contains an invalid bit pattern for clcw_version_number.
sourcepub fn with_clcw_version_number(self, new_val: <B2 as Specifier>::InOut) -> Self
pub fn with_clcw_version_number(self, new_val: <B2 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of clcw_version_number set to the given value.
#Panics
If the given value is out of bounds for clcw_version_number.
sourcepub fn with_clcw_version_number_checked(
self,
new_val: <B2 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_clcw_version_number_checked( self, new_val: <B2 as Specifier>::InOut ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of clcw_version_number set to the given value.
#Errors
If the given value is out of bounds for clcw_version_number.
sourcepub fn set_clcw_version_number(&mut self, new_val: <B2 as Specifier>::InOut)
pub fn set_clcw_version_number(&mut self, new_val: <B2 as Specifier>::InOut)
Sets the value of clcw_version_number to the given value.
#Panics
If the given value is out of bounds for clcw_version_number.
sourcepub fn set_clcw_version_number_checked(
&mut self,
new_val: <B2 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_clcw_version_number_checked( &mut self, new_val: <B2 as Specifier>::InOut ) -> Result<(), OutOfBounds>
Sets the value of clcw_version_number to the given value.
#Errors
If the given value is out of bounds for clcw_version_number.
sourcepub fn status_field(&self) -> <B3 as Specifier>::InOut
pub fn status_field(&self) -> <B3 as Specifier>::InOut
Returns the value of status_field.
sourcepub fn status_field_or_err(
&self
) -> Result<<B3 as Specifier>::InOut, InvalidBitPattern<<B3 as Specifier>::Bytes>>
pub fn status_field_or_err( &self ) -> Result<<B3 as Specifier>::InOut, InvalidBitPattern<<B3 as Specifier>::Bytes>>
Returns the value of status_field.
#Errors
If the returned value contains an invalid bit pattern for status_field.
sourcepub fn with_status_field(self, new_val: <B3 as Specifier>::InOut) -> Self
pub fn with_status_field(self, new_val: <B3 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of status_field set to the given value.
#Panics
If the given value is out of bounds for status_field.
sourcepub fn with_status_field_checked(
self,
new_val: <B3 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_status_field_checked( self, new_val: <B3 as Specifier>::InOut ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of status_field set to the given value.
#Errors
If the given value is out of bounds for status_field.
sourcepub fn set_status_field(&mut self, new_val: <B3 as Specifier>::InOut)
pub fn set_status_field(&mut self, new_val: <B3 as Specifier>::InOut)
Sets the value of status_field to the given value.
#Panics
If the given value is out of bounds for status_field.
sourcepub fn set_status_field_checked(
&mut self,
new_val: <B3 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_status_field_checked( &mut self, new_val: <B3 as Specifier>::InOut ) -> Result<(), OutOfBounds>
Sets the value of status_field to the given value.
#Errors
If the given value is out of bounds for status_field.
sourcepub fn cop_in_effect(&self) -> <B2 as Specifier>::InOut
pub fn cop_in_effect(&self) -> <B2 as Specifier>::InOut
Returns the value of cop_in_effect.
sourcepub fn cop_in_effect_or_err(
&self
) -> Result<<B2 as Specifier>::InOut, InvalidBitPattern<<B2 as Specifier>::Bytes>>
pub fn cop_in_effect_or_err( &self ) -> Result<<B2 as Specifier>::InOut, InvalidBitPattern<<B2 as Specifier>::Bytes>>
Returns the value of cop_in_effect.
#Errors
If the returned value contains an invalid bit pattern for cop_in_effect.
sourcepub fn with_cop_in_effect(self, new_val: <B2 as Specifier>::InOut) -> Self
pub fn with_cop_in_effect(self, new_val: <B2 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of cop_in_effect set to the given value.
#Panics
If the given value is out of bounds for cop_in_effect.
sourcepub fn with_cop_in_effect_checked(
self,
new_val: <B2 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_cop_in_effect_checked( self, new_val: <B2 as Specifier>::InOut ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of cop_in_effect set to the given value.
#Errors
If the given value is out of bounds for cop_in_effect.
sourcepub fn set_cop_in_effect(&mut self, new_val: <B2 as Specifier>::InOut)
pub fn set_cop_in_effect(&mut self, new_val: <B2 as Specifier>::InOut)
Sets the value of cop_in_effect to the given value.
#Panics
If the given value is out of bounds for cop_in_effect.
sourcepub fn set_cop_in_effect_checked(
&mut self,
new_val: <B2 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_cop_in_effect_checked( &mut self, new_val: <B2 as Specifier>::InOut ) -> Result<(), OutOfBounds>
Sets the value of cop_in_effect to the given value.
#Errors
If the given value is out of bounds for cop_in_effect.
sourcepub fn virtual_channel_identification(&self) -> <B6 as Specifier>::InOut
pub fn virtual_channel_identification(&self) -> <B6 as Specifier>::InOut
Returns the value of virtual_channel_identification.
sourcepub fn virtual_channel_identification_or_err(
&self
) -> Result<<B6 as Specifier>::InOut, InvalidBitPattern<<B6 as Specifier>::Bytes>>
pub fn virtual_channel_identification_or_err( &self ) -> Result<<B6 as Specifier>::InOut, InvalidBitPattern<<B6 as Specifier>::Bytes>>
Returns the value of virtual_channel_identification.
#Errors
If the returned value contains an invalid bit pattern for virtual_channel_identification.
sourcepub fn with_virtual_channel_identification(
self,
new_val: <B6 as Specifier>::InOut
) -> Self
pub fn with_virtual_channel_identification( self, new_val: <B6 as Specifier>::InOut ) -> Self
Returns a copy of the bitfield with the value of virtual_channel_identification set to the given value.
#Panics
If the given value is out of bounds for virtual_channel_identification.
sourcepub fn with_virtual_channel_identification_checked(
self,
new_val: <B6 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_virtual_channel_identification_checked( self, new_val: <B6 as Specifier>::InOut ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of virtual_channel_identification set to the given value.
#Errors
If the given value is out of bounds for virtual_channel_identification.
sourcepub fn set_virtual_channel_identification(
&mut self,
new_val: <B6 as Specifier>::InOut
)
pub fn set_virtual_channel_identification( &mut self, new_val: <B6 as Specifier>::InOut )
Sets the value of virtual_channel_identification to the given value.
#Panics
If the given value is out of bounds for virtual_channel_identification.
sourcepub fn set_virtual_channel_identification_checked(
&mut self,
new_val: <B6 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_virtual_channel_identification_checked( &mut self, new_val: <B6 as Specifier>::InOut ) -> Result<(), OutOfBounds>
Sets the value of virtual_channel_identification to the given value.
#Errors
If the given value is out of bounds for virtual_channel_identification.
sourcepub fn no_rf_available(&self) -> <B1 as Specifier>::InOut
pub fn no_rf_available(&self) -> <B1 as Specifier>::InOut
Returns the value of no_rf_available.
sourcepub fn no_rf_available_or_err(
&self
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn no_rf_available_or_err( &self ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of no_rf_available.
#Errors
If the returned value contains an invalid bit pattern for no_rf_available.
sourcepub fn with_no_rf_available(self, new_val: <B1 as Specifier>::InOut) -> Self
pub fn with_no_rf_available(self, new_val: <B1 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of no_rf_available set to the given value.
#Panics
If the given value is out of bounds for no_rf_available.
sourcepub fn with_no_rf_available_checked(
self,
new_val: <B1 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_no_rf_available_checked( self, new_val: <B1 as Specifier>::InOut ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of no_rf_available set to the given value.
#Errors
If the given value is out of bounds for no_rf_available.
sourcepub fn set_no_rf_available(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_no_rf_available(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of no_rf_available to the given value.
#Panics
If the given value is out of bounds for no_rf_available.
sourcepub fn set_no_rf_available_checked(
&mut self,
new_val: <B1 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_no_rf_available_checked( &mut self, new_val: <B1 as Specifier>::InOut ) -> Result<(), OutOfBounds>
Sets the value of no_rf_available to the given value.
#Errors
If the given value is out of bounds for no_rf_available.
sourcepub fn no_bit_lock(&self) -> <B1 as Specifier>::InOut
pub fn no_bit_lock(&self) -> <B1 as Specifier>::InOut
Returns the value of no_bit_lock.
sourcepub fn no_bit_lock_or_err(
&self
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn no_bit_lock_or_err( &self ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of no_bit_lock.
#Errors
If the returned value contains an invalid bit pattern for no_bit_lock.
sourcepub fn with_no_bit_lock(self, new_val: <B1 as Specifier>::InOut) -> Self
pub fn with_no_bit_lock(self, new_val: <B1 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of no_bit_lock set to the given value.
#Panics
If the given value is out of bounds for no_bit_lock.
sourcepub fn with_no_bit_lock_checked(
self,
new_val: <B1 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_no_bit_lock_checked( self, new_val: <B1 as Specifier>::InOut ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of no_bit_lock set to the given value.
#Errors
If the given value is out of bounds for no_bit_lock.
sourcepub fn set_no_bit_lock(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_no_bit_lock(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of no_bit_lock to the given value.
#Panics
If the given value is out of bounds for no_bit_lock.
sourcepub fn set_no_bit_lock_checked(
&mut self,
new_val: <B1 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_no_bit_lock_checked( &mut self, new_val: <B1 as Specifier>::InOut ) -> Result<(), OutOfBounds>
Sets the value of no_bit_lock to the given value.
#Errors
If the given value is out of bounds for no_bit_lock.
sourcepub fn lockout_or_err(
&self
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn lockout_or_err( &self ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of lockout.
#Errors
If the returned value contains an invalid bit pattern for lockout.
sourcepub fn with_lockout(self, new_val: <B1 as Specifier>::InOut) -> Self
pub fn with_lockout(self, new_val: <B1 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of lockout set to the given value.
#Panics
If the given value is out of bounds for lockout.
sourcepub fn with_lockout_checked(
self,
new_val: <B1 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_lockout_checked( self, new_val: <B1 as Specifier>::InOut ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of lockout set to the given value.
#Errors
If the given value is out of bounds for lockout.
sourcepub fn set_lockout(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_lockout(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of lockout to the given value.
#Panics
If the given value is out of bounds for lockout.
sourcepub fn set_lockout_checked(
&mut self,
new_val: <B1 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_lockout_checked( &mut self, new_val: <B1 as Specifier>::InOut ) -> Result<(), OutOfBounds>
Sets the value of lockout to the given value.
#Errors
If the given value is out of bounds for lockout.
sourcepub fn wait_or_err(
&self
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn wait_or_err( &self ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of wait.
#Errors
If the returned value contains an invalid bit pattern for wait.
sourcepub fn with_wait(self, new_val: <B1 as Specifier>::InOut) -> Self
pub fn with_wait(self, new_val: <B1 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of wait set to the given value.
#Panics
If the given value is out of bounds for wait.
sourcepub fn with_wait_checked(
self,
new_val: <B1 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_wait_checked( self, new_val: <B1 as Specifier>::InOut ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of wait set to the given value.
#Errors
If the given value is out of bounds for wait.
sourcepub fn set_wait(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_wait(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of wait to the given value.
#Panics
If the given value is out of bounds for wait.
sourcepub fn set_wait_checked(
&mut self,
new_val: <B1 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_wait_checked( &mut self, new_val: <B1 as Specifier>::InOut ) -> Result<(), OutOfBounds>
Sets the value of wait to the given value.
#Errors
If the given value is out of bounds for wait.
sourcepub fn retransmit(&self) -> <B1 as Specifier>::InOut
pub fn retransmit(&self) -> <B1 as Specifier>::InOut
Returns the value of retransmit.
sourcepub fn retransmit_or_err(
&self
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn retransmit_or_err( &self ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of retransmit.
#Errors
If the returned value contains an invalid bit pattern for retransmit.
sourcepub fn with_retransmit(self, new_val: <B1 as Specifier>::InOut) -> Self
pub fn with_retransmit(self, new_val: <B1 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of retransmit set to the given value.
#Panics
If the given value is out of bounds for retransmit.
sourcepub fn with_retransmit_checked(
self,
new_val: <B1 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_retransmit_checked( self, new_val: <B1 as Specifier>::InOut ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of retransmit set to the given value.
#Errors
If the given value is out of bounds for retransmit.
sourcepub fn set_retransmit(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_retransmit(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of retransmit to the given value.
#Panics
If the given value is out of bounds for retransmit.
sourcepub fn set_retransmit_checked(
&mut self,
new_val: <B1 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_retransmit_checked( &mut self, new_val: <B1 as Specifier>::InOut ) -> Result<(), OutOfBounds>
Sets the value of retransmit to the given value.
#Errors
If the given value is out of bounds for retransmit.
sourcepub fn farm_b_counter(&self) -> <B2 as Specifier>::InOut
pub fn farm_b_counter(&self) -> <B2 as Specifier>::InOut
Returns the value of farm_b_counter.
sourcepub fn farm_b_counter_or_err(
&self
) -> Result<<B2 as Specifier>::InOut, InvalidBitPattern<<B2 as Specifier>::Bytes>>
pub fn farm_b_counter_or_err( &self ) -> Result<<B2 as Specifier>::InOut, InvalidBitPattern<<B2 as Specifier>::Bytes>>
Returns the value of farm_b_counter.
#Errors
If the returned value contains an invalid bit pattern for farm_b_counter.
sourcepub fn with_farm_b_counter(self, new_val: <B2 as Specifier>::InOut) -> Self
pub fn with_farm_b_counter(self, new_val: <B2 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of farm_b_counter set to the given value.
#Panics
If the given value is out of bounds for farm_b_counter.
sourcepub fn with_farm_b_counter_checked(
self,
new_val: <B2 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_farm_b_counter_checked( self, new_val: <B2 as Specifier>::InOut ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of farm_b_counter set to the given value.
#Errors
If the given value is out of bounds for farm_b_counter.
sourcepub fn set_farm_b_counter(&mut self, new_val: <B2 as Specifier>::InOut)
pub fn set_farm_b_counter(&mut self, new_val: <B2 as Specifier>::InOut)
Sets the value of farm_b_counter to the given value.
#Panics
If the given value is out of bounds for farm_b_counter.
sourcepub fn set_farm_b_counter_checked(
&mut self,
new_val: <B2 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_farm_b_counter_checked( &mut self, new_val: <B2 as Specifier>::InOut ) -> Result<(), OutOfBounds>
Sets the value of farm_b_counter to the given value.
#Errors
If the given value is out of bounds for farm_b_counter.
sourcepub fn report_value(&self) -> <B8 as Specifier>::InOut
pub fn report_value(&self) -> <B8 as Specifier>::InOut
Returns the value of report_value.
sourcepub fn report_value_or_err(
&self
) -> Result<<B8 as Specifier>::InOut, InvalidBitPattern<<B8 as Specifier>::Bytes>>
pub fn report_value_or_err( &self ) -> Result<<B8 as Specifier>::InOut, InvalidBitPattern<<B8 as Specifier>::Bytes>>
Returns the value of report_value.
#Errors
If the returned value contains an invalid bit pattern for report_value.
sourcepub fn with_report_value(self, new_val: <B8 as Specifier>::InOut) -> Self
pub fn with_report_value(self, new_val: <B8 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of report_value set to the given value.
#Panics
If the given value is out of bounds for report_value.
sourcepub fn with_report_value_checked(
self,
new_val: <B8 as Specifier>::InOut
) -> Result<Self, OutOfBounds>
pub fn with_report_value_checked( self, new_val: <B8 as Specifier>::InOut ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of report_value set to the given value.
#Errors
If the given value is out of bounds for report_value.
sourcepub fn set_report_value(&mut self, new_val: <B8 as Specifier>::InOut)
pub fn set_report_value(&mut self, new_val: <B8 as Specifier>::InOut)
Sets the value of report_value to the given value.
#Panics
If the given value is out of bounds for report_value.
sourcepub fn set_report_value_checked(
&mut self,
new_val: <B8 as Specifier>::InOut
) -> Result<(), OutOfBounds>
pub fn set_report_value_checked( &mut self, new_val: <B8 as Specifier>::InOut ) -> Result<(), OutOfBounds>
Sets the value of report_value to the given value.
#Errors
If the given value is out of bounds for report_value.
Trait Implementations§
source§impl AsBytes for CLCW
impl AsBytes for CLCW
§fn as_bytes_mut(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_bytes_mut(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
§fn write_to_prefix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
fn write_to_prefix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
§fn write_to_suffix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
fn write_to_suffix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
source§impl FromBytes for CLCW
impl FromBytes for CLCW
§fn read_from_prefix<B>(bytes: B) -> Option<Self>where
B: ByteSlice,
Self: Sized,
fn read_from_prefix<B>(bytes: B) -> Option<Self>where
B: ByteSlice,
Self: Sized,
§fn read_from_suffix<B>(bytes: B) -> Option<Self>where
B: ByteSlice,
Self: Sized,
fn read_from_suffix<B>(bytes: B) -> Option<Self>where
B: ByteSlice,
Self: Sized,
§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Self
from zeroed bytes.impl Unaligned for CLCW
Auto Trait Implementations§
impl Freeze for CLCW
impl RefUnwindSafe for CLCW
impl Send for CLCW
impl Sync for CLCW
impl Unpin for CLCW
impl UnwindSafe for CLCW
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
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self
, then passes self.as_mut()
into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self
, then passes self.deref()
into the pipe function.§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow()
only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref()
only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut()
only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref()
only in debug builds, and is erased in release
builds.