pub struct Diagnostics { /* private fields */ }Implementations§
Source§impl Diagnostics
impl Diagnostics
pub fn new() -> Self
pub fn add(&mut self, diagnostic: Diagnostic)
pub fn extend(&mut self, diagnostics: impl IntoIterator<Item = Diagnostic>)
pub fn iter(&self) -> impl Iterator<Item = &Diagnostic>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Debug for Diagnostics
impl Debug for Diagnostics
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
Source§impl<'a> IntoIterator for &'a Diagnostics
impl<'a> IntoIterator for &'a Diagnostics
Source§impl IntoIterator for Diagnostics
impl IntoIterator for Diagnostics
Auto Trait Implementations§
impl Freeze for Diagnostics
impl RefUnwindSafe for Diagnostics
impl Send for Diagnostics
impl Sync for Diagnostics
impl Unpin for Diagnostics
impl UnsafeUnpin 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