Struct mupdf_sys::fz_text_item[][src]

#[repr(C)]pub struct fz_text_item {
    pub x: f32,
    pub y: f32,
    pub gid: c_int,
    pub ucs: c_int,
}

Text buffer.

The trm field contains the a, b, c and d coefficients. The e and f coefficients come from the individual elements, together they form the transform matrix for the glyph.

Glyphs are referenced by glyph ID. The Unicode text equivalent is kept in a separate array with indexes into the glyph array.

Fields

x: f32y: f32gid: c_intucs: c_int

Trait Implementations

impl Clone for fz_text_item[src]

impl Copy for fz_text_item[src]

impl Debug for fz_text_item[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> 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.