#[repr(C, packed(1))]pub struct MathGlyphVariantRecord {
pub variant_glyph: BigEndian<GlyphId16>,
pub advance_measurement: BigEndian<UfWord>,
}Expand description
Fields§
§variant_glyph: BigEndian<GlyphId16>Glyph ID for the variant.
advance_measurement: BigEndian<UfWord>Advance width/height, in design units, of the variant, in the direction of requested glyph extension.
Implementations§
Source§impl MathGlyphVariantRecord
impl MathGlyphVariantRecord
Sourcepub fn variant_glyph(&self) -> GlyphId16
pub fn variant_glyph(&self) -> GlyphId16
Glyph ID for the variant.
Sourcepub fn advance_measurement(&self) -> UfWord
pub fn advance_measurement(&self) -> UfWord
Advance width/height, in design units, of the variant, in the direction of requested glyph extension.
Trait Implementations§
impl AnyBitPattern for MathGlyphVariantRecord
Source§impl Clone for MathGlyphVariantRecord
impl Clone for MathGlyphVariantRecord
Source§fn clone(&self) -> MathGlyphVariantRecord
fn clone(&self) -> MathGlyphVariantRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MathGlyphVariantRecord
Source§impl Debug for MathGlyphVariantRecord
impl Debug for MathGlyphVariantRecord
impl Eq for MathGlyphVariantRecord
Source§impl FixedSize for MathGlyphVariantRecord
impl FixedSize for MathGlyphVariantRecord
Source§const RAW_BYTE_LEN: usize
const RAW_BYTE_LEN: usize
The raw size of this type, in bytes. Read more
Source§impl Hash for MathGlyphVariantRecord
impl Hash for MathGlyphVariantRecord
Source§impl Ord for MathGlyphVariantRecord
impl Ord for MathGlyphVariantRecord
Source§fn cmp(&self, other: &MathGlyphVariantRecord) -> Ordering
fn cmp(&self, other: &MathGlyphVariantRecord) -> Ordering
1.21.0 (const: unstable) · 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 MathGlyphVariantRecord
impl PartialEq for MathGlyphVariantRecord
Source§impl PartialOrd for MathGlyphVariantRecord
impl PartialOrd for MathGlyphVariantRecord
impl StructuralPartialEq for MathGlyphVariantRecord
Auto Trait Implementations§
impl Freeze for MathGlyphVariantRecord
impl RefUnwindSafe for MathGlyphVariantRecord
impl Send for MathGlyphVariantRecord
impl Sync for MathGlyphVariantRecord
impl Unpin for MathGlyphVariantRecord
impl UnsafeUnpin for MathGlyphVariantRecord
impl UnwindSafe for MathGlyphVariantRecord
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.