pub struct ProxyData {
pub target: ObjRef,
pub handler: ObjRef,
pub revoked: Cell<bool>,
}Expand description
Proxy(target とハンドラ)。
Fields§
§target: ObjRef§handler: ObjRef§revoked: Cell<bool>Proxy.revocable の revoke() 後は true(以降の内部操作は TypeError)。
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ProxyData
impl !RefUnwindSafe for ProxyData
impl !Send for ProxyData
impl !Sync for ProxyData
impl !UnwindSafe for ProxyData
impl Unpin for ProxyData
impl UnsafeUnpin for ProxyData
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