Trait hecs_schedule::context::Data[][src]

pub unsafe trait Data {
    fn get(&self, ty: TypeId) -> Option<&AtomicRefCell<NonNull<u8>>>;
}
Expand description

Dynamically accessed static collection of values

Safety

Will type erase the given arguments by converting them to NonNull, assuming the references are always non null.

Required methods

Get the cell associated to the TypeId.

Implementations on Foreign Types

Implementors