Struct swipl_fli::PL_prof_type_t
source · #[repr(C)]pub struct PL_prof_type_t {
pub unify: Option<unsafe extern "C" fn(t: term_t, handle: *mut c_void) -> c_int>,
pub get: Option<unsafe extern "C" fn(t: term_t, handle: *mut *mut c_void) -> c_int>,
pub activate: Option<unsafe extern "C" fn(active: c_int)>,
pub release: Option<unsafe extern "C" fn(handle: *mut c_void)>,
pub dummy: [*mut c_void; 4],
pub magic: isize,
}
Expand description
PROFILER *
Fields§
§unify: Option<unsafe extern "C" fn(t: term_t, handle: *mut c_void) -> c_int>
§get: Option<unsafe extern "C" fn(t: term_t, handle: *mut *mut c_void) -> c_int>
§activate: Option<unsafe extern "C" fn(active: c_int)>
§release: Option<unsafe extern "C" fn(handle: *mut c_void)>
§dummy: [*mut c_void; 4]
§magic: isize
Trait Implementations§
source§impl Clone for PL_prof_type_t
impl Clone for PL_prof_type_t
source§fn clone(&self) -> PL_prof_type_t
fn clone(&self) -> PL_prof_type_t
Returns a copy 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 PL_prof_type_t
impl Debug for PL_prof_type_t
impl Copy for PL_prof_type_t
Auto Trait Implementations§
impl RefUnwindSafe for PL_prof_type_t
impl !Send for PL_prof_type_t
impl !Sync for PL_prof_type_t
impl Unpin for PL_prof_type_t
impl UnwindSafe for PL_prof_type_t
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