pub struct Domain { /* private fields */ }Implementations§
Source§impl Domain
impl Domain
pub fn create(name: &str) -> Result<Self>
pub fn create_from_c_str(name: &CStr) -> Result<Self>
pub fn as_raw(&self) -> nvtxDomainHandle_t
pub fn mark(&self, message: &str) -> Result<()>
pub fn mark_c_str(&self, message: &CStr)
pub fn mark_with_attributes(&self, attributes: EventAttributes<'_>)
pub fn range<'a>(&'a self, message: &str) -> Result<DomainLocalRange<'a>>
pub fn range_c_str<'a>(&'a self, message: &CStr) -> DomainLocalRange<'a>
pub fn range_with_attributes<'a>( &'a self, attributes: EventAttributes<'_>, ) -> DomainLocalRange<'a>
pub fn start_range(&self, message: &str) -> Result<DomainRange<'_>>
pub fn start_range_c_str(&self, message: &CStr) -> DomainRange<'_>
pub fn start_range_with_attributes( &self, attributes: EventAttributes<'_>, ) -> DomainRange<'_>
pub fn name_category(&self, category: Category, name: &str) -> Result<()>
Trait Implementations§
impl Send for Domain
impl Sync for Domain
Auto Trait Implementations§
impl Freeze for Domain
impl RefUnwindSafe for Domain
impl Unpin for Domain
impl UnsafeUnpin for Domain
impl UnwindSafe for Domain
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