Struct jj_lib::extensions_map::ExtensionsMap
source · pub struct ExtensionsMap { /* private fields */ }
Expand description
Type-safe map that stores objects of arbitrary types.
This allows extensions to store and retrieve their own types unknown to jj_lib safely.
Implementations§
Trait Implementations§
source§impl Default for ExtensionsMap
impl Default for ExtensionsMap
source§fn default() -> ExtensionsMap
fn default() -> ExtensionsMap
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExtensionsMap
impl !RefUnwindSafe for ExtensionsMap
impl !Send for ExtensionsMap
impl !Sync for ExtensionsMap
impl Unpin for ExtensionsMap
impl !UnwindSafe for ExtensionsMap
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