Skip to main content

DefaultDispatcher

Trait DefaultDispatcher 

Source
pub trait DefaultDispatcher<T>: Sealed{
    // Required method
    fn get_default(_: &DeviceStorage) -> T;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T, L> DefaultDispatcher<T> for L
where T: DeviceStorageCompatible<Loader = L>, L: DefaultLoader<Result = T> + 'static,

Source§

impl<T> DefaultDispatcher<T> for NoneT
where T: DeviceStorageCompatible<Loader = Self> + Default,