pub struct JsRef<'e> { /* private fields */ }Expand description
A live JavaScript value, walked in place on the JavaScript thread.
Implementations§
Trait Implementations§
Source§impl Encrypt for JsRef<'_>
impl Encrypt for JsRef<'_>
Source§fn visit<S: Sink>(self, sink: S) -> Result<S::Ok, S::Error>
fn visit<S: Sink>(self, sink: S) -> Result<S::Ok, S::Error>
Describe
self to sink, consuming it.Source§const FIXED: Option<FixedType> = None
const FIXED: Option<FixedType> = None
The fixed-width scalar type every value of this type has, if it has
one: an int, a float, a date, a timestamp, a decimal.
None, the
default, for everything else: a bool (whose leaf is already as short
as a null’s), text, bytes, a container, a value whose type depends
on the value. Read moreAuto Trait Implementations§
impl<'e> !Send for JsRef<'e>
impl<'e> !Sync for JsRef<'e>
impl<'e> Freeze for JsRef<'e>
impl<'e> RefUnwindSafe for JsRef<'e>
impl<'e> Unpin for JsRef<'e>
impl<'e> UnsafeUnpin for JsRef<'e>
impl<'e> UnwindSafe for JsRef<'e>
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