[][src]Struct mupdf_sys::fz_path_walker

#[repr(C)]pub struct fz_path_walker {
    pub moveto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x: f32, y: f32)>,
    pub lineto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x: f32, y: f32)>,
    pub curveto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x1: f32, y1: f32, x2: f32, y2: f32, x3: f32, y3: f32)>,
    pub closepath: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void)>,
    pub quadto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x1: f32, y1: f32, x2: f32, y2: f32)>,
    pub curvetov: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x2: f32, y2: f32, x3: f32, y3: f32)>,
    pub curvetoy: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x1: f32, y1: f32, x3: f32, y3: f32)>,
    pub rectto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x1: f32, y1: f32, x2: f32, y2: f32)>,
}

Fields

moveto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x: f32, y: f32)>lineto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x: f32, y: f32)>curveto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x1: f32, y1: f32, x2: f32, y2: f32, x3: f32, y3: f32)>closepath: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void)>quadto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x1: f32, y1: f32, x2: f32, y2: f32)>curvetov: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x2: f32, y2: f32, x3: f32, y3: f32)>curvetoy: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x1: f32, y1: f32, x3: f32, y3: f32)>rectto: Option<unsafe extern "C" fn(ctx: *mut fz_context, arg: *mut c_void, x1: f32, y1: f32, x2: f32, y2: f32)>

Trait Implementations

impl Clone for fz_path_walker[src]

impl Copy for fz_path_walker[src]

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