pub struct DowncastToken(pub Symbol);
Expand description
A token used when downcasting wrapper classes back to their Rust types.
Tuple Fields§
§0: Symbol
Implementations§
Source§impl DowncastToken
impl DowncastToken
Trait Implementations§
Source§impl Clone for DowncastToken
impl Clone for DowncastToken
Source§fn clone(&self) -> DowncastToken
fn clone(&self) -> DowncastToken
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq<JsValue> for DowncastToken
impl PartialEq<JsValue> for DowncastToken
impl Send for DowncastToken
impl Sync for DowncastToken
Auto Trait Implementations§
impl Freeze for DowncastToken
impl RefUnwindSafe for DowncastToken
impl Unpin for DowncastToken
impl UnwindSafe for DowncastToken
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