[−][src]Struct sixtyfps_compilerlib::diagnostics::BuildDiagnostics
Implementations
impl BuildDiagnostics[src]
pub fn add(&mut self, diagnostics: FileDiagnostics)[src]
pub fn push_diagnostic(
&mut self,
message: String,
source: &dyn SpannedWithSourceFile,
level: Level
)[src]
&mut self,
message: String,
source: &dyn SpannedWithSourceFile,
level: Level
)
pub fn push_error(
&mut self,
message: String,
source: &dyn SpannedWithSourceFile
)[src]
&mut self,
message: String,
source: &dyn SpannedWithSourceFile
)
pub fn push_internal_error(&mut self, err: Diagnostic)[src]
pub fn into_iter(self) -> impl Iterator<Item = FileDiagnostics>[src]
pub fn has_error(&self) -> bool[src]
pub fn to_string_vec(&self) -> Vec<String>[src]
Trait Implementations
impl Default for BuildDiagnostics[src]
fn default() -> BuildDiagnostics[src]
impl Extend<FileDiagnostics> for BuildDiagnostics[src]
fn extend<T: IntoIterator<Item = FileDiagnostics>>(&mut self, iter: T)[src]
fn extend_one(&mut self, item: A)[src]
fn extend_reserve(&mut self, additional: usize)[src]
Auto Trait Implementations
impl !RefUnwindSafe for BuildDiagnostics
impl !Send for BuildDiagnostics
impl !Sync for BuildDiagnostics
impl Unpin for BuildDiagnostics
impl !UnwindSafe for BuildDiagnostics
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,