Struct specs::storage::MaskedStorage [−][src]
pub struct MaskedStorage<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
Auto Trait Implementations
impl<T> RefUnwindSafe for MaskedStorage<T> where
<T as Component>::Storage: RefUnwindSafe,
impl<T> Send for MaskedStorage<T>
impl<T> Sync for MaskedStorage<T>
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) -> TypeId
Mutably borrows from an owned value. Read more
Tries to create the default.
Calls try_default
and panics on an error case.