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