pub const fn gc_str<'gc>(s: &'gc str) -> GcString<'gc>
Coerce a &str into a GcString
&str
GcString
This is only supported on the epsilon collector, because the epsilon collector never collects.
See also gc_array for converting &[T] -> GcArray<T>
&[T]
GcArray<T>