Skip to main content

JsRefEncode

Trait JsRefEncode 

Source
pub trait JsRefEncode {
    // Required method
    fn js_ref(&self) -> JsRef;
}

Required Methods§

Source

fn js_ref(&self) -> JsRef

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§