#[repr(C, packed(1))]pub struct Range1 {
pub first: u8,
pub n_left: u8,
}Expand description
Range struct for Encoding format 1.
Fields§
§first: u8First code in range.
n_left: u8Codes left in range (excluding first).
Implementations§
Trait Implementations§
Source§impl Clone for EncodingRange1
impl Clone for EncodingRange1
Source§fn clone(&self) -> EncodingRange1
fn clone(&self) -> EncodingRange1
Returns a duplicate 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 EncodingRange1
impl Debug for EncodingRange1
Source§impl FixedSize for EncodingRange1
impl FixedSize for EncodingRange1
Source§const RAW_BYTE_LEN: usize
const RAW_BYTE_LEN: usize
The raw size of this type, in bytes. Read more
Source§impl Hash for EncodingRange1
impl Hash for EncodingRange1
Source§impl Ord for EncodingRange1
impl Ord for EncodingRange1
Source§fn cmp(&self, other: &EncodingRange1) -> Ordering
fn cmp(&self, other: &EncodingRange1) -> 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 EncodingRange1
impl PartialEq for EncodingRange1
Source§impl PartialOrd for EncodingRange1
impl PartialOrd for EncodingRange1
impl AnyBitPattern for EncodingRange1
impl Copy for EncodingRange1
impl Eq for EncodingRange1
impl StructuralPartialEq for EncodingRange1
Auto Trait Implementations§
impl Freeze for EncodingRange1
impl RefUnwindSafe for EncodingRange1
impl Send for EncodingRange1
impl Sync for EncodingRange1
impl Unpin for EncodingRange1
impl UnsafeUnpin for EncodingRange1
impl UnwindSafe for EncodingRange1
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.