Struct Proxy
#[repr(transparent)]
pub struct Proxy { /* private fields */ }
Implementations
impl Proxy
fn new(target: &JsValue, handler: &Object) -> ProxyThe
Proxyobject is used to define custom behavior for fundamental operations (e.g. property lookup, assignment, enumeration, function invocation, etc).
impl Proxy
fn revocable(target: &JsValue, handler: &Object) -> ObjectThe
Proxy.revocable()method is used to create a revocableProxyobject.
Trait Implementations
impl AsRef<JsValue> for Proxy
fn as_ref(&self) -> &JsValue
impl AsRef<Proxy> for Proxy
fn as_ref(&self) -> &Proxy
impl Clone for Proxy
fn clone(&self) -> Self
impl Debug for Proxy
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Deref for Proxy
type Target = JsValue;fn deref(&self) -> &JsValue
impl ErasableGeneric for Proxy
type Repr = JsValue;
impl From<JsValue> for Proxy
fn from(obj: JsValue) -> Self
impl FromWasmAbi for Proxy
type Abi = <JsValue as FromWasmAbi>::Abi;unsafe fn from_abi(js: Self::Abi) -> Self
impl IntoJsGeneric for Proxy
where
Proxy: JsGeneric,
type JsCanon = Proxy;fn to_js(self) -> Proxy
impl IntoWasmAbi for Proxy
type Abi = <JsValue as IntoWasmAbi>::Abi;fn into_abi(self) -> Self::Abi
impl JsCast for Proxy
fn instanceof(val: &JsValue) -> boolfn unchecked_from_js(val: JsValue) -> Selffn unchecked_from_js_ref(val: &JsValue) -> &Self
impl LongRefFromWasmAbi for Proxy
type Abi = <JsValue as LongRefFromWasmAbi>::Abi;type Anchor = Proxy;unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
impl OptionFromWasmAbi for Proxy
fn is_none(abi: &Self::Abi) -> bool
impl OptionIntoWasmAbi for Proxy
fn none() -> Self::Abi
impl Promising for Proxy
type Resolution = Proxy;
impl RefFromWasmAbi for Proxy
type Abi = <JsValue as RefFromWasmAbi>::Abi;type Anchor = ManuallyDrop<Proxy>;unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
impl UpcastFrom<Proxy> for Proxy
impl WasmDescribe for Proxy
fn describe()