#[repr(C, packed(1))]pub struct CharsetRange1 {
pub first: BigEndian<u16>,
pub n_left: u8,
}
Expand description
Range struct for Charset format 1.
Fields§
§first: BigEndian<u16>
First glyph in range.
n_left: u8
Glyphs left in range (excluding first).
Implementations§
Trait Implementations§
Source§impl Clone for CharsetRange1
impl Clone for CharsetRange1
Source§fn clone(&self) -> CharsetRange1
fn clone(&self) -> CharsetRange1
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 CharsetRange1
impl Debug for CharsetRange1
Source§impl FixedSize for CharsetRange1
impl FixedSize for CharsetRange1
Source§const RAW_BYTE_LEN: usize = 3usize
const RAW_BYTE_LEN: usize = 3usize
The raw size of this type, in bytes. Read more
Source§impl Hash for CharsetRange1
impl Hash for CharsetRange1
Source§impl Ord for CharsetRange1
impl Ord for CharsetRange1
Source§fn cmp(&self, other: &CharsetRange1) -> Ordering
fn cmp(&self, other: &CharsetRange1) -> 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 CharsetRange1
impl PartialEq for CharsetRange1
Source§impl PartialOrd for CharsetRange1
impl PartialOrd for CharsetRange1
impl AnyBitPattern for CharsetRange1
impl Copy for CharsetRange1
impl Eq for CharsetRange1
impl StructuralPartialEq for CharsetRange1
Auto Trait Implementations§
impl Freeze for CharsetRange1
impl RefUnwindSafe for CharsetRange1
impl Send for CharsetRange1
impl Sync for CharsetRange1
impl Unpin for CharsetRange1
impl UnwindSafe for CharsetRange1
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
.