#[repr(transparent)]pub struct BlockMap<T>(pub HashMap<BlockKey, T>);
Expand description
A map structure that maps blocks (defined statically) to a value.
Tuple Fields§
§0: HashMap<BlockKey, T>
Implementations§
Auto Trait Implementations§
impl<T> Freeze for BlockMap<T>
impl<T> !RefUnwindSafe for BlockMap<T>
impl<T> Send for BlockMap<T>where
T: Send,
impl<T> Sync for BlockMap<T>where
T: Sync,
impl<T> Unpin for BlockMap<T>where
T: Unpin,
impl<T> !UnwindSafe for BlockMap<T>
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