pub struct CompilerMessage {
pub message: MessageType,
pub level: DiagnosticLevel,
pub code: Option<String>,
pub location: Option<MessageLocation>,
}
Fields§
§message: MessageType
§level: DiagnosticLevel
§code: Option<String>
§location: Option<MessageLocation>
Trait Implementations§
Source§impl Clone for CompilerMessage
impl Clone for CompilerMessage
Source§fn clone(&self) -> CompilerMessage
fn clone(&self) -> CompilerMessage
Returns a duplicate 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 CompilerMessage
impl Debug for CompilerMessage
Source§impl Display for CompilerMessage
impl Display for CompilerMessage
Source§impl PartialEq for CompilerMessage
impl PartialEq for CompilerMessage
Auto Trait Implementations§
impl Freeze for CompilerMessage
impl RefUnwindSafe for CompilerMessage
impl Send for CompilerMessage
impl Sync for CompilerMessage
impl Unpin for CompilerMessage
impl UnwindSafe for CompilerMessage
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