Struct read_fonts::tables::postscript::FdSelectRange3
source · #[repr(C, packed(1))]pub struct FdSelectRange3 {
pub first: BigEndian<u16>,
pub fd: u8,
}
Expand description
Range struct for FdSelect format 3.
Fields§
§first: BigEndian<u16>
First glyph index in range.
fd: u8
FD index for all glyphs in range.
Implementations§
Trait Implementations§
source§impl Clone for FdSelectRange3
impl Clone for FdSelectRange3
source§fn clone(&self) -> FdSelectRange3
fn clone(&self) -> FdSelectRange3
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 FdSelectRange3
impl Debug for FdSelectRange3
source§impl FixedSize for FdSelectRange3
impl FixedSize for FdSelectRange3
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 FdSelectRange3
impl Hash for FdSelectRange3
source§impl Ord for FdSelectRange3
impl Ord for FdSelectRange3
source§fn cmp(&self, other: &FdSelectRange3) -> Ordering
fn cmp(&self, other: &FdSelectRange3) -> 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 FdSelectRange3
impl PartialEq for FdSelectRange3
source§fn eq(&self, other: &FdSelectRange3) -> bool
fn eq(&self, other: &FdSelectRange3) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FdSelectRange3
impl PartialOrd for FdSelectRange3
source§fn partial_cmp(&self, other: &FdSelectRange3) -> Option<Ordering>
fn partial_cmp(&self, other: &FdSelectRange3) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<'a> SomeRecord<'a> for FdSelectRange3
impl<'a> SomeRecord<'a> for FdSelectRange3
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
impl AnyBitPattern for FdSelectRange3
impl Copy for FdSelectRange3
impl Eq for FdSelectRange3
impl StructuralPartialEq for FdSelectRange3
Auto Trait Implementations§
impl Freeze for FdSelectRange3
impl RefUnwindSafe for FdSelectRange3
impl Send for FdSelectRange3
impl Sync for FdSelectRange3
impl Unpin for FdSelectRange3
impl UnwindSafe for FdSelectRange3
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,
§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
.