Struct sval::value::OwnedValue
source · pub struct OwnedValue(/* private fields */);Expand description
An owned value.
Owned values are safe to share and are cheap to clone.
Implementations§
source§impl OwnedValue
impl OwnedValue
pub fn from_value(v: impl Value) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OwnedValue
impl !RefUnwindSafe for OwnedValue
impl Send for OwnedValue
impl Sync for OwnedValue
impl Unpin for OwnedValue
impl !UnwindSafe for OwnedValue
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