Struct oxygengine_core::ecs::storage::MaskedStorage [−][src]
pub struct MaskedStorage<T> where
T: Component, { /* fields omitted */ }Expand description
The UnprotectedStorage together with the BitSet that knows
about which elements are stored, and which are not.
Implementations
Creates a new MaskedStorage. This is called when you register
a new component type within the world.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for MaskedStorage<T> where
<T as Component>::Storage: RefUnwindSafe, impl<T> Send for MaskedStorage<T> where
<T as Component>::Storage: Send, impl<T> Sync for MaskedStorage<T> where
<T as Component>::Storage: Sync, impl<T> Unpin for MaskedStorage<T> where
<T as Component>::Storage: Unpin, impl<T> UnwindSafe for MaskedStorage<T> where
<T as Component>::Storage: 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) -> TypeIdMutably borrows from an owned value. Read more
Tries to create the default.
Calls try_default and panics on an error case.