Trait Data

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

Dynamically accessed static collection of values

Required Methods§

Source

fn get(&self, ty: TypeId) -> Option<&AtomicRefCell<NonNull<u8>>>

Get the cell associated to the TypeId.

Implementations on Foreign Types§

Source§

impl<const C: usize> Data for [ErasedCell; C]

Implementors§