fz_document_layout_fn

Type Alias fz_document_layout_fn 

Source
pub type fz_document_layout_fn = Option<unsafe extern "C" fn(ctx: *mut fz_context, doc: *mut fz_document, w: f32, h: f32, em: f32)>;
Expand description

Type for a function to be called to lay
out a document. See fz_layout_document for more information.

Aliased Type§

pub enum fz_document_layout_fn {
    None,
    Some(unsafe extern "C" fn(*mut fz_context, *mut fz_document, f32, f32, f32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut fz_context, *mut fz_document, f32, f32, f32))

Some value of type T.