Struct mupdf_sys::fz_link[][src]

#[repr(C)]
pub struct fz_link { pub refs: c_int, pub next: *mut fz_link, pub rect: fz_rect, pub uri: *mut c_char, }
Expand description

fz_link is a list of interactive links on a page.

There is no relation between the order of the links in the list and the order they appear on the page. The list of links for a given page can be obtained from fz_load_links.

A link is reference counted. Dropping a reference to a link is done by calling fz_drop_link.

rect: The hot zone. The area that can be clicked in untransformed coordinates.

uri: Link destinations come in two forms: internal and external. Internal links refer to other pages in the same document. External links are URLs to other documents.

next: A pointer to the next link on the same page.

Fields

refs: c_intnext: *mut fz_linkrect: fz_recturi: *mut c_char

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.