Struct melior::diagnostic::DiagnosticHandlerId
source · pub struct DiagnosticHandlerId { /* private fields */ }
Expand description
Diagnostic handler ID.
Implementations§
source§impl DiagnosticHandlerId
impl DiagnosticHandlerId
sourcepub const unsafe fn from_raw(raw: MlirDiagnosticHandlerID) -> Self
pub const unsafe fn from_raw(raw: MlirDiagnosticHandlerID) -> Self
sourcepub const fn to_raw(self) -> MlirDiagnosticHandlerID
pub const fn to_raw(self) -> MlirDiagnosticHandlerID
Converts a diagnostic handler ID into a raw object.
Trait Implementations§
source§impl Clone for DiagnosticHandlerId
impl Clone for DiagnosticHandlerId
source§fn clone(&self) -> DiagnosticHandlerId
fn clone(&self) -> DiagnosticHandlerId
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 DiagnosticHandlerId
impl Debug for DiagnosticHandlerId
impl Copy for DiagnosticHandlerId
Auto Trait Implementations§
impl RefUnwindSafe for DiagnosticHandlerId
impl Send for DiagnosticHandlerId
impl Sync for DiagnosticHandlerId
impl Unpin for DiagnosticHandlerId
impl UnwindSafe for DiagnosticHandlerId
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