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