pub struct HostBody(pub Rc<HostFn>);Expand description
Rc<HostFn> with a Debug that names the kind and not the closure.
Tuple Fields§
§0: Rc<HostFn>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for HostBody
impl !Send for HostBody
impl !Sync for HostBody
impl !UnwindSafe for HostBody
impl Freeze for HostBody
impl Unpin for HostBody
impl UnsafeUnpin for HostBody
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