Struct allsorts_no_std::bitmap::sbix::SbixStrike[][src]

pub struct SbixStrike<'a> {
    pub ppem: u16,
    pub ppi: u16,
    // some fields omitted
}

A single strike (ppem/ppi) combination.

Fields

ppem: u16

The PPEM size for which this strike was designed.

ppi: u16

The device pixel density (in pixels-per-inch) for which this strike was designed.

Implementations

impl<'a> SbixStrike<'a>[src]

pub fn read_glyph(
    &self,
    glyph_index: u16
) -> Result<Option<SbixGlyph<'a>>, ParseError>
[src]

Read a glyph from this strike specified by glyph_index.

Trait Implementations

impl<'a> ReadBinaryDep<'a> for SbixStrike<'a>[src]

type Args = usize

type HostType = Self

Auto Trait Implementations

impl<'a> RefUnwindSafe for SbixStrike<'a>

impl<'a> Send for SbixStrike<'a>

impl<'a> Sync for SbixStrike<'a>

impl<'a> Unpin for SbixStrike<'a>

impl<'a> UnwindSafe for SbixStrike<'a>

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.