pub struct TypeDefBitSequence {
pub num_bytes: u8,
pub least_significant_bit_first: bool,
}Fields§
§num_bytes: u8§least_significant_bit_first: boolTrait Implementations§
Source§impl Clone for TypeDefBitSequence
impl Clone for TypeDefBitSequence
Source§fn clone(&self) -> TypeDefBitSequence
fn clone(&self) -> TypeDefBitSequence
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 TypeDefBitSequence
impl Debug for TypeDefBitSequence
Source§impl Encode for TypeDefBitSequence
impl Encode for TypeDefBitSequence
Source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
Source§fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy,
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
Convert self to a slice and append it to the destination.
Source§fn using_encoded<R, F>(&self, f: F) -> R
fn using_encoded<R, F>(&self, f: F) -> R
Convert self to a slice and then invoke the given closure with it.
Source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
Source§impl Ord for TypeDefBitSequence
impl Ord for TypeDefBitSequence
Source§fn cmp(&self, other: &TypeDefBitSequence) -> Ordering
fn cmp(&self, other: &TypeDefBitSequence) -> 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 for TypeDefBitSequence
impl PartialEq for TypeDefBitSequence
Source§impl PartialOrd for TypeDefBitSequence
impl PartialOrd for TypeDefBitSequence
impl EncodeLike for TypeDefBitSequence
impl Eq for TypeDefBitSequence
impl StructuralPartialEq for TypeDefBitSequence
Auto Trait Implementations§
impl Freeze for TypeDefBitSequence
impl RefUnwindSafe for TypeDefBitSequence
impl Send for TypeDefBitSequence
impl Sync for TypeDefBitSequence
impl Unpin for TypeDefBitSequence
impl UnwindSafe for TypeDefBitSequence
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