[][src]Struct mupdf_sys::fz_outline

#[repr(C)]pub struct fz_outline {
    pub refs: c_int,
    pub title: *mut c_char,
    pub uri: *mut c_char,
    pub page: c_int,
    pub x: f32,
    pub y: f32,
    pub next: *mut fz_outline,
    pub down: *mut fz_outline,
    pub is_open: c_int,
}

fz_outline is a tree of the outline of a document (also known as table of contents).

title: Title of outline item using UTF-8 encoding. May be NULL if the outline item has no text string.

uri: Destination in the document to be displayed when this outline item is activated. May be an internal or external link, or NULL if the outline item does not have a destination.

page: The page number of an internal link, or -1 for external links or links with no destination.

next: The next outline item at the same level as this outline item. May be NULL if no more outline items exist at this level.

down: The outline items immediate children in the hierarchy. May be NULL if no children exist.

Fields

refs: c_inttitle: *mut c_charuri: *mut c_charpage: c_intx: f32y: f32next: *mut fz_outlinedown: *mut fz_outlineis_open: c_int

Trait Implementations

impl Clone for fz_outline[src]

impl Copy for fz_outline[src]

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