pub trait IntoTWithDiagnosticArray {
// Required method
fn with_diagnostic(
self,
diagnostic: Vec<Diagnostic>,
) -> TWithDiagnosticArray<Self>
where Self: Sized + Debug;
// Provided method
fn with_empty_diagnostic(self) -> TWithDiagnosticArray<Self>
where Self: Sized + Debug { ... }
}Required Methods§
fn with_diagnostic( self, diagnostic: Vec<Diagnostic>, ) -> TWithDiagnosticArray<Self>
Provided Methods§
fn with_empty_diagnostic(self) -> TWithDiagnosticArray<Self>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".