#[repr(C)]pub struct shape_functions {
pub initfn: Option<unsafe extern "C" fn(arg1: *mut node_t)>,
pub freefn: Option<unsafe extern "C" fn(arg1: *mut node_t)>,
pub portfn: Option<unsafe extern "C" fn(arg1: *mut node_t, arg2: *mut c_char, arg3: *mut c_char) -> port>,
pub insidefn: Option<unsafe extern "C" fn(inside_context: *mut inside_t, arg1: pointf) -> boolean>,
pub pboxfn: Option<unsafe extern "C" fn(n: *mut node_t, p: *mut port, side: c_int, rv: *mut boxf, kptr: *mut c_int) -> c_int>,
pub codefn: Option<unsafe extern "C" fn(job: *mut GVJ_t, n: *mut node_t)>,
}Fields§
§initfn: Option<unsafe extern "C" fn(arg1: *mut node_t)>§freefn: Option<unsafe extern "C" fn(arg1: *mut node_t)>§portfn: Option<unsafe extern "C" fn(arg1: *mut node_t, arg2: *mut c_char, arg3: *mut c_char) -> port>§insidefn: Option<unsafe extern "C" fn(inside_context: *mut inside_t, arg1: pointf) -> boolean>§pboxfn: Option<unsafe extern "C" fn(n: *mut node_t, p: *mut port, side: c_int, rv: *mut boxf, kptr: *mut c_int) -> c_int>§codefn: Option<unsafe extern "C" fn(job: *mut GVJ_t, n: *mut node_t)>Trait Implementations§
Source§impl Clone for shape_functions
impl Clone for shape_functions
Source§fn clone(&self) -> shape_functions
fn clone(&self) -> shape_functions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for shape_functions
impl Debug for shape_functions
impl Copy for shape_functions
Auto Trait Implementations§
impl Freeze for shape_functions
impl RefUnwindSafe for shape_functions
impl Send for shape_functions
impl Sync for shape_functions
impl Unpin for shape_functions
impl UnwindSafe for shape_functions
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