Mojo module
string_literal
Implements the StringLiteral class.
These are Mojo built-ins, so you don't need to import them.
Structs
-
StringLiteral
: This type represents a string literal.
Functions
-
get_string_literal
: Form a string literal from an arbitrary compile-time String value. -
get_string_literal_slice
: Form a string literal from an arbitrary compile-time StringSlice value.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!