MCPcopy Index your code
hub / github.com/aiscriptdev/aiscript / intern_static

Method intern_static

aiscript-vm/src/string/interned.rs:377–379  ·  view source on GitHub ↗
(self, mc: &Mutation<'gc>, s: &'static [u8])

Source from the content-addressed store, hash-verified

375 }
376
377 pub fn intern_static(self, mc: &Mutation<'gc>, s: &'static [u8]) -> InternedString<'gc> {
378 self.static_strings.intern(mc, s)
379 }
380}
381
382#[cfg(test)]

Callers 11

create_serde_moduleFunction · 0.45
create_random_moduleFunction · 0.45
create_time_moduleFunction · 0.45
create_io_moduleFunction · 0.45
create_http_moduleFunction · 0.45
create_env_moduleFunction · 0.45
create_math_moduleFunction · 0.45
create_jwt_moduleFunction · 0.45
create_pg_moduleFunction · 0.45
create_sqlite_moduleFunction · 0.45
create_redis_moduleFunction · 0.45

Calls 1

internMethod · 0.45

Tested by

no test coverage detected