Struct mupdf_sys::fz_outline
source · #[repr(C)]pub struct fz_outline {
pub refs: c_int,
pub title: *mut c_char,
pub uri: *mut c_char,
pub page: fz_location,
pub x: f32,
pub y: f32,
pub next: *mut fz_outline,
pub down: *mut fz_outline,
pub is_open: c_int,
}
Expand description
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_int
§title: *mut c_char
§uri: *mut c_char
§page: fz_location
§x: f32
§y: f32
§next: *mut fz_outline
§down: *mut fz_outline
§is_open: c_int
Trait Implementations§
source§impl Clone for fz_outline
impl Clone for fz_outline
source§fn clone(&self) -> fz_outline
fn clone(&self) -> fz_outline
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more