Struct ttf_parser::ScriptMetrics[][src]

#[repr(C)]
pub struct ScriptMetrics { pub x_size: i16, pub y_size: i16, pub x_offset: i16, pub y_offset: i16, }

A script metrics used by subscript and superscript.

Fields

x_size: i16

Horizontal font size.

y_size: i16

Vertical font size.

x_offset: i16

X offset.

y_offset: i16

Y offset.

Trait Implementations

impl Clone for ScriptMetrics[src]

impl Copy for ScriptMetrics[src]

impl Debug for ScriptMetrics[src]

impl PartialEq<ScriptMetrics> for ScriptMetrics[src]

impl StructuralPartialEq for ScriptMetrics[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.