pub struct Proxy<'js> { /* private fields */ }Implementations§
Source§impl<'js> Proxy<'js>
impl<'js> Proxy<'js>
pub fn new(ctx: Ctx<'js>) -> Result<Self>
pub fn with_target(ctx: Ctx<'js>, target: Value<'js>) -> Result<Self>
pub fn setter<T, P: 'js>(&self, setter: Func<T, P>) -> Result<()>where
T: IntoJsFunc<'js, P> + 'js,
pub fn getter<T, P: 'js>(&self, getter: Func<T, P>) -> Result<()>where
T: IntoJsFunc<'js, P> + 'js,
Trait Implementations§
Auto Trait Implementations§
impl<'js> !Send for Proxy<'js>
impl<'js> !Sync for Proxy<'js>
impl<'js> !UnwindSafe for Proxy<'js>
impl<'js> Freeze for Proxy<'js>
impl<'js> RefUnwindSafe for Proxy<'js>
impl<'js> Unpin for Proxy<'js>
impl<'js> UnsafeUnpin for Proxy<'js>
Blanket Implementations§
Source§impl<'js, T> AsProperty<'js, T> for Twhere
T: IntoJs<'js>,
impl<'js, T> AsProperty<'js, T> for Twhere
T: IntoJs<'js>,
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