pub struct StaticString { /* private fields */ }Expand description
A static string with vtable for uniform dispatch.
Implementations§
Trait Implementations§
Source§impl Borrow<JsStr<'static>> for &'static StaticString
impl Borrow<JsStr<'static>> for &'static StaticString
Source§impl Clone for StaticString
impl Clone for StaticString
Source§fn clone(&self) -> StaticString
fn clone(&self) -> StaticString
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StaticString
Source§impl Debug for StaticString
impl Debug for StaticString
impl Eq for StaticString
Source§impl Hash for StaticString
impl Hash for StaticString
Auto Trait Implementations§
impl Freeze for StaticString
impl RefUnwindSafe for StaticString
impl Send for StaticString
impl Sync for StaticString
impl Unpin for StaticString
impl UnsafeUnpin for StaticString
impl UnwindSafe for StaticString
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more