pub struct StrRef { /* private fields */ }Expand description
A string.
A reference into the collector’s heap: valid while what it names is reachable from
the script, from a running call’s arguments, or from a Root.
Trait Implementations§
impl Copy for StrRef
impl Eq for StrRef
impl StructuralPartialEq for StrRef
Auto Trait Implementations§
impl Forget for StrRef
impl Freeze for StrRef
impl Move for StrRef
impl RefUnwindSafe for StrRef
impl Send for StrRef
impl Sync for StrRef
impl Unpin for StrRef
impl UnsafeUnpin for StrRef
impl UnwindSafe for StrRef
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