Trait flax::fetch::RandomFetch
source · pub trait RandomFetch<'q>: PreparedFetch<'q> {
// Required methods
unsafe fn fetch_shared(&'q self, slot: Slot) -> Self::Item;
unsafe fn fetch_shared_chunk(chunk: &Self::Chunk, slot: Slot) -> Self::Item;
}Expand description
A fetch which only yields items which can freely alias.
This makes the fetch method safer to implement and can be called with a covariant lifetime.
Required Methods§
Object Safety§
This trait is not object safe.