Struct ittapi_sys::___itt_module_object
source · [−]#[repr(C)]pub struct ___itt_module_object {
pub version: c_uint,
pub module_id: __itt_id,
pub module_type: __itt_module_type,
pub module_name: *const c_char,
pub module_buffer: *mut c_void,
pub module_size: size_t,
pub section_array: *mut __itt_section_info,
pub section_number: size_t,
}
Fields
version: c_uint
< API version
module_id: __itt_id
< Unique identifier. This is unchanged for sections that belong to the same module
module_type: __itt_module_type
< Binary module format
module_name: *const c_char
< Unique module name or path to module in UTF8 Contains module name when module_bufer and module_size exist Contains module path when module_bufer and module_size absent module_name remains the same for the certain module_id
module_buffer: *mut c_void
< Module buffer content
module_size: size_t
< Module buffer size */ If module_buffer and module_size do not exist, the binary module exists on the system already. The module_name parameter contains the path to the module.
section_array: *mut __itt_section_info
< Reference to section information
section_number: size_t
Trait Implementations
sourceimpl Clone for ___itt_module_object
impl Clone for ___itt_module_object
sourcefn clone(&self) -> ___itt_module_object
fn clone(&self) -> ___itt_module_object
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ___itt_module_object
impl Debug for ___itt_module_object
impl Copy for ___itt_module_object
Auto Trait Implementations
impl RefUnwindSafe for ___itt_module_object
impl !Send for ___itt_module_object
impl !Sync for ___itt_module_object
impl Unpin for ___itt_module_object
impl UnwindSafe for ___itt_module_object
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more