[][src]Struct spiro_sys::_bezctx

#[repr(C)]pub struct _bezctx {
    pub moveto: Option<unsafe extern "C" fn(bc: *mut bezctx, x: f64, y: f64, is_open: c_int)>,
    pub lineto: Option<unsafe extern "C" fn(bc: *mut bezctx, x: f64, y: f64)>,
    pub quadto: Option<unsafe extern "C" fn(bc: *mut bezctx, x1: f64, y1: f64, x2: f64, y2: f64)>,
    pub curveto: Option<unsafe extern "C" fn(bc: *mut bezctx, x1: f64, y1: f64, x2: f64, y2: f64, x3: f64, y3: f64)>,
    pub mark_knot: Option<unsafe extern "C" fn(bc: *mut bezctx, knot_idx: c_int)>,
}

Fields

moveto: Option<unsafe extern "C" fn(bc: *mut bezctx, x: f64, y: f64, is_open: c_int)>lineto: Option<unsafe extern "C" fn(bc: *mut bezctx, x: f64, y: f64)>quadto: Option<unsafe extern "C" fn(bc: *mut bezctx, x1: f64, y1: f64, x2: f64, y2: f64)>curveto: Option<unsafe extern "C" fn(bc: *mut bezctx, x1: f64, y1: f64, x2: f64, y2: f64, x3: f64, y3: f64)>mark_knot: Option<unsafe extern "C" fn(bc: *mut bezctx, knot_idx: c_int)>

Trait Implementations

impl Clone for _bezctx[src]

impl Copy for _bezctx[src]

impl Debug for _bezctx[src]

impl Default for _bezctx[src]

impl PartialEq<_bezctx> for _bezctx[src]

impl StructuralPartialEq for _bezctx[src]

Auto Trait Implementations

impl RefUnwindSafe for _bezctx

impl Send for _bezctx

impl Sync for _bezctx

impl Unpin for _bezctx

impl UnwindSafe for _bezctx

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.