pub struct String<'a>(pub Value<'a>);
Tuple Fields
0: Value<'a>
Implementations
Trait Implementations
sourceimpl<'a> FromNodeAPI<'a> for String<'a>
impl<'a> FromNodeAPI<'a> for String<'a>
fn from_node_api(value: Value<'a>) -> Result<Self>
sourceimpl<'a> IntoNodeApi<'a> for String<'a>
impl<'a> IntoNodeApi<'a> for String<'a>
fn into_node_api(self, _env: Env<'a>) -> Result<Value<'a>>
impl<'a> Copy for String<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for String<'a>
impl<'a> !Send for String<'a>
impl<'a> !Sync for String<'a>
impl<'a> Unpin for String<'a>
impl<'a> UnwindSafe for String<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more