pub const fn gc_str<'gc>(s: &'gc str) -> GcString<'gc>
Expand description

Coerce a &str into a GcString

This is only supported on the epsilon collector, because the epsilon collector never collects.

See also gc_array for converting &[T] -> GcArray<T>