Struct mlir_sys::MlirDiagnostic
source · #[repr(C)]pub struct MlirDiagnostic {
pub ptr: *mut c_void,
}
Expand description
An opaque reference to a diagnostic, always owned by the diagnostics engine (context). Must not be stored outside of the diagnostic handler.
Fields§
§ptr: *mut c_void
Trait Implementations§
source§impl Clone for MlirDiagnostic
impl Clone for MlirDiagnostic
source§fn clone(&self) -> MlirDiagnostic
fn clone(&self) -> MlirDiagnostic
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 MlirDiagnostic
impl Debug for MlirDiagnostic
impl Copy for MlirDiagnostic
Auto Trait Implementations§
impl RefUnwindSafe for MlirDiagnostic
impl !Send for MlirDiagnostic
impl !Sync for MlirDiagnostic
impl Unpin for MlirDiagnostic
impl UnwindSafe for MlirDiagnostic
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