#[repr(C, packed(1))]pub struct FTStringRange {
pub offset: BigEndian<u16>,
pub length: BigEndian<u16>,
}
Expand description
Offset and length of string in ltag
table.
Fields§
§offset: BigEndian<u16>
Offset from the start of the table to the beginning of the string.
length: BigEndian<u16>
String length (in bytes).
Implementations§
Trait Implementations§
source§impl Clone for FTStringRange
impl Clone for FTStringRange
source§fn clone(&self) -> FTStringRange
fn clone(&self) -> FTStringRange
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 FTStringRange
impl Debug for FTStringRange
source§impl FixedSize for FTStringRange
impl FixedSize for FTStringRange
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 FTStringRange
impl Hash for FTStringRange
source§impl Ord for FTStringRange
impl Ord for FTStringRange
source§fn cmp(&self, other: &FTStringRange) -> Ordering
fn cmp(&self, other: &FTStringRange) -> 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 FTStringRange
impl PartialEq for FTStringRange
source§impl PartialOrd for FTStringRange
impl PartialOrd for FTStringRange
source§impl<'a> SomeRecord<'a> for FTStringRange
impl<'a> SomeRecord<'a> for FTStringRange
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
impl AnyBitPattern for FTStringRange
impl Copy for FTStringRange
impl Eq for FTStringRange
impl StructuralPartialEq for FTStringRange
Auto Trait Implementations§
impl Freeze for FTStringRange
impl RefUnwindSafe for FTStringRange
impl Send for FTStringRange
impl Sync for FTStringRange
impl Unpin for FTStringRange
impl UnwindSafe for FTStringRange
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
.source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)