Struct owned_ttf_parser::os2::ScriptMetrics
source · #[repr(C)]pub struct ScriptMetrics {
pub x_size: i16,
pub y_size: i16,
pub x_offset: i16,
pub y_offset: i16,
}
Expand description
A script metrics used by subscript and superscript.
Fields§
§x_size: i16
Horizontal face size.
y_size: i16
Vertical face size.
x_offset: i16
X offset.
y_offset: i16
Y offset.
Trait Implementations§
source§impl Clone for ScriptMetrics
impl Clone for ScriptMetrics
source§fn clone(&self) -> ScriptMetrics
fn clone(&self) -> ScriptMetrics
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 ScriptMetrics
impl Debug for ScriptMetrics
source§impl Hash for ScriptMetrics
impl Hash for ScriptMetrics
source§impl PartialEq for ScriptMetrics
impl PartialEq for ScriptMetrics
source§fn eq(&self, other: &ScriptMetrics) -> bool
fn eq(&self, other: &ScriptMetrics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ScriptMetrics
impl Eq for ScriptMetrics
impl StructuralEq for ScriptMetrics
impl StructuralPartialEq for ScriptMetrics
Auto Trait Implementations§
impl RefUnwindSafe for ScriptMetrics
impl Send for ScriptMetrics
impl Sync for ScriptMetrics
impl Unpin for ScriptMetrics
impl UnwindSafe for ScriptMetrics
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