MCPcopy Create free account
hub / github.com/hashintel/hash / of_mut

Method of_mut

libs/@local/hashql/core/src/module/universe.rs:161–163  ·  view source on GitHub ↗
(&mut self, universe: Universe)

Source from the content-addressed store, hash-verified

159 /// ```
160 #[inline]
161 pub const fn of_mut(&mut self, universe: Universe) -> &mut T {
162 &mut self.data[universe as usize]
163 }
164
165 /// Transforms the [`Realms<T>`] into a [`Realms<U>`] by applying a function to each value.
166 ///

Callers 15

mapMethod · 0.45
insertMethod · 0.45
try_insertMethod · 0.45
insert_uniqueMethod · 0.45
removeMethod · 0.45
get_mutMethod · 0.45
entryMethod · 0.45
retainMethod · 0.45
clearMethod · 0.45
reserveMethod · 0.45
iter_mutMethod · 0.45
values_mutMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected