pub trait AsDowncastingAnyProvider {
// Required method
fn as_downcasting(&self) -> DowncastingAnyProvider<'_, Self>;
}
Expand description
Blanket-implemented trait adding the Self::as_downcasting()
function.
Required Methods§
Sourcefn as_downcasting(&self) -> DowncastingAnyProvider<'_, Self>
fn as_downcasting(&self) -> DowncastingAnyProvider<'_, Self>
Returns an object implementing DynamicDataProvider<M>
when called on AnyProvider
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.