pub struct Throw(pub Value);Expand description
A thrown JavaScript value. It is not rooted: whoever receives it stores it in a register, a root or a handle before the next allocation.
Tuple Fields§
§0: ValueTrait Implementations§
impl Copy for Throw
impl Eq for Throw
impl StructuralPartialEq for Throw
Auto Trait Implementations§
impl Freeze for Throw
impl RefUnwindSafe for Throw
impl Send for Throw
impl Sync for Throw
impl Unpin for Throw
impl UnsafeUnpin for Throw
impl UnwindSafe for Throw
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