#[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 Copy for _bezctx
impl StructuralPartialEq for _bezctx
Auto Trait Implementations§
impl Freeze for _bezctx
impl RefUnwindSafe for _bezctx
impl Send for _bezctx
impl Sync for _bezctx
impl Unpin for _bezctx
impl UnwindSafe for _bezctx
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more