Struct rune::workspace::Diagnostics
source · pub struct Diagnostics { /* private fields */ }
Available on crate feature
workspace
only.Expand description
Diagnostics emitted about a workspace.
Implementations§
source§impl Diagnostics
impl Diagnostics
source§impl Diagnostics
impl Diagnostics
sourcepub fn diagnostics(&self) -> &[Diagnostic]
pub fn diagnostics(&self) -> &[Diagnostic]
Access underlying diagnostics.
sourcepub fn has_errors(&self) -> bool
pub fn has_errors(&self) -> bool
Test if diagnostics has errors.
source§impl Diagnostics
impl Diagnostics
Trait Implementations§
source§impl Default for Diagnostics
impl Default for Diagnostics
source§fn default() -> Diagnostics
fn default() -> Diagnostics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for Diagnostics
impl Send for Diagnostics
impl Sync for Diagnostics
impl Unpin for Diagnostics
impl !UnwindSafe for Diagnostics
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