Struct sixtyfps_interpreter::Diagnostic [−][src]
pub struct Diagnostic { /* fields omitted */ }
Expand description
This structure represent a diagnostic emitted while compiling .60 code.
It is basically a message, a level (warning or error), attached to a position in the code
Implementations
Return the level for this diagnostic
Returns a tuple with the line (starting at 1) and column number (starting at 0)
return the path of the source file where this error is attached
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Diagnostic
impl !Send for Diagnostic
impl !Sync for Diagnostic
impl Unpin for Diagnostic
impl UnwindSafe for Diagnostic
Blanket Implementations
Mutably borrows from an owned value. Read more