Struct oxygengine_core::ecs::NullStorage [−][src]
pub struct NullStorage<T>(_);
A null storage type, used for cases where the component doesn’t contain any data and instead works as a simple flag.
Trait Implementations
impl<T> Default for NullStorage<T> where
T: Default,
[src]
impl<T> Default for NullStorage<T> where
T: Default,
[src]pub fn default() -> NullStorage<T>
[src]
impl<T> DistinctStorage for NullStorage<T>
[src]
impl<T> DistinctStorage for NullStorage<T>
[src]This is safe because you cannot mutate ZSTs.
impl<T> UnprotectedStorage<T> for NullStorage<T> where
T: Default,
[src]
impl<T> UnprotectedStorage<T> for NullStorage<T> where
T: Default,
[src]Auto Trait Implementations
impl<T> RefUnwindSafe for NullStorage<T> where
T: RefUnwindSafe,
impl<T> RefUnwindSafe for NullStorage<T> where
T: RefUnwindSafe,
impl<T> Send for NullStorage<T> where
T: Send,
impl<T> Send for NullStorage<T> where
T: Send,
impl<T> Sync for NullStorage<T> where
T: Sync,
impl<T> Sync for NullStorage<T> where
T: Sync,
impl<T> Unpin for NullStorage<T> where
T: Unpin,
impl<T> Unpin for NullStorage<T> where
T: Unpin,
impl<T> UnwindSafe for NullStorage<T> where
T: UnwindSafe,
impl<T> UnwindSafe for NullStorage<T> where
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
pub fn get_type_id(&self) -> TypeId
impl<T> TryDefault for T where
T: Default,
[src]
impl<T> TryDefault for T where
T: Default,
[src]