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: usize,
pub section_array: *mut __itt_section_info,
pub section_number: usize,
}
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: usize
< Module buffer size / /!< If module_buffer and module_size exist, the binary module is dumped onto the system. 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: usize
Trait Implementations§
source§impl Clone for ___itt_module_object
impl Clone for ___itt_module_object
source§fn clone(&self) -> ___itt_module_object
fn clone(&self) -> ___itt_module_object
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 ___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§
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