Struct rjs::rt::JsString
[−]
[src]
pub struct JsString { // some fields omitted }
pub struct JsString { // some fields omitted }
impl JsString
fn new_local(env: &JsEnv, size: usize) -> Local<JsString>
fn from_str<'a>(env: &'a JsEnv, string: &str) -> Local<JsString>
fn from_u16(env: &JsEnv, chars: &[u16]) -> Local<JsString>
fn chars(&self) -> &[u16]
fn concat<'a>(env: &'a JsEnv, strings: &[Local<JsString>]) -> Local<JsString>
fn equals(x: Local<JsString>, y: Local<JsString>) -> bool
fn to_string(&self) -> String
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)