Struct 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
impl Copy for ScriptMetrics
impl Eq for ScriptMetrics
impl StructuralPartialEq for ScriptMetrics
Auto Trait Implementations§
impl Freeze for ScriptMetrics
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
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
)