pub struct PortableMathVariant {
pub glyph: i32,
pub advance: i32,
}Expand description
A larger OpenType MATH glyph variant: the variant glyph id and its advance in
scaled points (-1 advance means “no such variant”).
Fields§
§glyph: i32§advance: i32Trait Implementations§
Source§impl Clone for PortableMathVariant
impl Clone for PortableMathVariant
Source§fn clone(&self) -> PortableMathVariant
fn clone(&self) -> PortableMathVariant
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 PortableMathVariant
Source§impl Debug for PortableMathVariant
impl Debug for PortableMathVariant
impl Eq for PortableMathVariant
Source§impl PartialEq for PortableMathVariant
impl PartialEq for PortableMathVariant
impl StructuralPartialEq for PortableMathVariant
Auto Trait Implementations§
impl Freeze for PortableMathVariant
impl RefUnwindSafe for PortableMathVariant
impl Send for PortableMathVariant
impl Sync for PortableMathVariant
impl Unpin for PortableMathVariant
impl UnsafeUnpin for PortableMathVariant
impl UnwindSafe for PortableMathVariant
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