Struct include_js_core::JSString[][src]

pub struct JSString { /* fields omitted */ }
Expand description

Wrapper around String that ensures it contains syntactically valid Javascript. See docs for JSStr for more info.

Implementations

Methods from Deref<Target = JSStr>

Converts the &JSStr back into an &str, this should be a noop.

Trait Implementations

Performs the conversion.

Immutably borrows from an owned value. Read more

The resulting type after dereferencing.

Dereferences the value.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.