Struct allsorts_no_std::bitmap::OriginOffset[][src]

pub struct OriginOffset {
    pub x: i16,
    pub y: i16,
}

Bitmap offset from glyph origin in font units.

Fields

x: i16

The horizontal (x-axis) offset from the left edge of the graphic to the glyph’s origin.

y: i16

The vertical (y-axis) offset from the bottom edge of the graphic to the glyph’s origin.

Trait Implementations

impl Debug for OriginOffset[src]

impl From<&'_ SbixGlyph<'_>> for OriginOffset[src]

Auto Trait Implementations

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, 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.