pub struct HashMapStorage<T>(/* private fields */);Trait Implementations§
Source§impl<T> Default for HashMapStorage<T>
impl<T> Default for HashMapStorage<T>
Source§impl<T> RawStorage for HashMapStorage<T>
impl<T> RawStorage for HashMapStorage<T>
type Item = T
Source§unsafe fn get(&self, index: Index) -> &T
unsafe fn get(&self, index: Index) -> &T
Return a reference to the component at the given index. Read more
Source§unsafe fn get_mut(&self, index: Index) -> &mut T
unsafe fn get_mut(&self, index: Index) -> &mut T
Return a mutable reference to the component at the given index. Read more
impl<T: Send> Send for HashMapStorage<T>
impl<T: Sync> Sync for HashMapStorage<T>
Auto Trait Implementations§
impl<T> Freeze for HashMapStorage<T>
impl<T> !RefUnwindSafe for HashMapStorage<T>
impl<T> Unpin for HashMapStorage<T>where
T: Unpin,
impl<T> UnsafeUnpin for HashMapStorage<T>
impl<T> UnwindSafe for HashMapStorage<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more