pub fn downcast<U: Value>(&self) -> DowncastResult<'a, T, U> {
        match U::downcast(self.value) {
            Some(v) => Ok(Handle::new_internal(v)),
            None => Err(DowncastError::new())
        }
    }
/// Attempts to downcast a handle to another type, which may fail. A failure
/// to downcast **does not** throw a JavaScript exception, so it's OK to
/// continue interacting with the JS engine if this method produces an `Err`
/// result.
Attempts to downcast a handle to another type, which may fail. A failure
to downcast **does not** throw a JavaScript exception, so it's OK to
continue interacting with the JS engine if this method produces an `Err`
result.
Attempts to downcast a handle to another type which may fail . A failure to downcast ** does not ** throw a JavaScript exception so it ' s OK to continue interacting with the JS engine if this method produces an ` Err ` result .
pub fn downcast<U: Value>(&self) -> DowncastResult<'a, T, U> {
        match U::downcast(self.value) {
            Some(v) => Ok(Handle::new_internal(v)),
            None => Err(DowncastError::new())
        }
    }
pub fn downcast < U : Value > ( & self ) -> DowncastResult < ' a , T , U > { match U :: downcast ( self . value ) { Some ( v ) => Ok ( Handle :: new_internal ( v ) ) , None => Err ( DowncastError :: new ( ) ) } }
Attempts to downcast a handle to another type, which may fail.
Attempts to downcast a handle to another type which may fail .
&self