Skip to main content

try_load_static

Function try_load_static 

Source
fn try_load_static<M: DataMarker, P: DataProvider<M> + ?Sized>(
    provider: &P,
    model: &'static DataMarkerAttributes,
) -> Result<Option<&'static <M::DataStruct as Yokeable<'static>>::Output>, DataError>