pub trait WithElement<T, W: Warning> {
type Output;
// Required method
fn with_element(self, element: &Element<'_>) -> Self::Output;
}Expand description
Associate a json::Element with a set of Warnings contained by a [VerdictDeferred].
Required Associated Types§
Required Methods§
fn with_element(self, element: &Element<'_>) -> Self::Output
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".