[−][src]Struct tm_sys::ffi::tm_memory_tracker_api
Fields
check_for_leaked_scopes: Option<unsafe extern "C" fn()>create_scope: Option<unsafe extern "C" fn(desc: *const c_char, parent_scope: u32) -> u32>destroy_scope: Option<unsafe extern "C" fn(s: u32)>destroy_scope_allowing_leaks: Option<unsafe extern "C" fn(scope: u32, max_leaked_bytes: u64)>record_realloc: Option<unsafe extern "C" fn(old_ptr: *mut c_void, old_size: u64, new_ptr: *mut c_void, new_size: u64, file: *const c_char, line: u32, scope: u32)>allocated_bytes: Option<unsafe extern "C" fn(scope: u32) -> u64>allocation_count: Option<unsafe extern "C" fn(scope: u32) -> u64>set_scope_tracing: Option<unsafe extern "C" fn(scope: u32, enabled: bool)>scope_data_snapshot: Option<unsafe extern "C" fn(ta: *mut tm_temp_allocator_i) -> *mut tm_memory_tracker_scope_data_t>trace_data_snapshot: Option<unsafe extern "C" fn(ta: *mut tm_temp_allocator_i) -> *mut tm_memory_tracker_trace_data_t>Trait Implementations
impl Clone for tm_memory_tracker_api[src]
pub fn clone(&self) -> tm_memory_tracker_api[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for tm_memory_tracker_api[src]
impl Debug for tm_memory_tracker_api[src]
Auto Trait Implementations
impl RefUnwindSafe for tm_memory_tracker_api
impl Send for tm_memory_tracker_api
impl Sync for tm_memory_tracker_api
impl Unpin for tm_memory_tracker_api
impl UnwindSafe for tm_memory_tracker_api
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,