pub struct NoHost;Expand description
Sentinel type for modules with no host imports.
Zero-sized — the compiler eliminates it entirely. Used as the generic parameter H
in Env<H> for modules that have no host imports.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NoHost
impl RefUnwindSafe for NoHost
impl Send for NoHost
impl Sync for NoHost
impl Unpin for NoHost
impl UnsafeUnpin for NoHost
impl UnwindSafe for NoHost
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