#[repr(C, packed(1))]pub struct UvsMapping {
pub unicode_value: BigEndian<Uint24>,
pub glyph_id: BigEndian<u16>,
}
Expand description
Part of Cmap14
Fields§
§unicode_value: BigEndian<Uint24>
Base Unicode value of the UVS
glyph_id: BigEndian<u16>
Glyph ID of the UVS
Implementations§
source§impl UvsMapping
impl UvsMapping
Trait Implementations§
source§impl Clone for UvsMapping
impl Clone for UvsMapping
source§fn clone(&self) -> UvsMapping
fn clone(&self) -> UvsMapping
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 UvsMapping
impl Debug for UvsMapping
source§impl FixedSize for UvsMapping
impl FixedSize for UvsMapping
source§const RAW_BYTE_LEN: usize = 5usize
const RAW_BYTE_LEN: usize = 5usize
The raw size of this type, in bytes. Read more
source§impl Hash for UvsMapping
impl Hash for UvsMapping
source§impl Ord for UvsMapping
impl Ord for UvsMapping
source§fn cmp(&self, other: &UvsMapping) -> Ordering
fn cmp(&self, other: &UvsMapping) -> 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 UvsMapping
impl PartialEq for UvsMapping
source§impl PartialOrd for UvsMapping
impl PartialOrd for UvsMapping
source§impl<'a> SomeRecord<'a> for UvsMapping
impl<'a> SomeRecord<'a> for UvsMapping
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
impl AnyBitPattern for UvsMapping
impl Copy for UvsMapping
impl Eq for UvsMapping
impl StructuralPartialEq for UvsMapping
Auto Trait Implementations§
impl Freeze for UvsMapping
impl RefUnwindSafe for UvsMapping
impl Send for UvsMapping
impl Sync for UvsMapping
impl Unpin for UvsMapping
impl UnwindSafe for UvsMapping
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
)