Enum llvm_sys::LLVMDiagnosticSeverity
source · #[repr(C)]pub enum LLVMDiagnosticSeverity {
LLVMDSError = 0,
LLVMDSWarning = 1,
LLVMDSRemark = 2,
LLVMDSNote = 3,
}
Variants§
Trait Implementations§
source§impl Clone for LLVMDiagnosticSeverity
impl Clone for LLVMDiagnosticSeverity
source§fn clone(&self) -> LLVMDiagnosticSeverity
fn clone(&self) -> LLVMDiagnosticSeverity
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 LLVMDiagnosticSeverity
impl Debug for LLVMDiagnosticSeverity
source§impl PartialEq for LLVMDiagnosticSeverity
impl PartialEq for LLVMDiagnosticSeverity
source§fn eq(&self, other: &LLVMDiagnosticSeverity) -> bool
fn eq(&self, other: &LLVMDiagnosticSeverity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LLVMDiagnosticSeverity
impl StructuralPartialEq for LLVMDiagnosticSeverity
Auto Trait Implementations§
impl Freeze for LLVMDiagnosticSeverity
impl RefUnwindSafe for LLVMDiagnosticSeverity
impl Send for LLVMDiagnosticSeverity
impl Sync for LLVMDiagnosticSeverity
impl Unpin for LLVMDiagnosticSeverity
impl UnwindSafe for LLVMDiagnosticSeverity
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