#[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