pub struct ExtendedHostFunctions<Base, Overlay> { /* private fields */ }
Expand description
A wrapper which merges two sets of host functions, and allows the second set to override the host functions from the first set.
Trait Implementations§
source§impl<Base, Overlay> HostFunctions for ExtendedHostFunctions<Base, Overlay>where
Base: HostFunctions,
Overlay: HostFunctions,
impl<Base, Overlay> HostFunctions for ExtendedHostFunctions<Base, Overlay>where
Base: HostFunctions,
Overlay: HostFunctions,
source§fn host_functions() -> Vec<&'static dyn Function>
fn host_functions() -> Vec<&'static dyn Function>
Returns the host functions
Self
provides.Auto Trait Implementations§
impl<Base, Overlay> Freeze for ExtendedHostFunctions<Base, Overlay>
impl<Base, Overlay> RefUnwindSafe for ExtendedHostFunctions<Base, Overlay>where
Base: RefUnwindSafe,
Overlay: RefUnwindSafe,
impl<Base, Overlay> Send for ExtendedHostFunctions<Base, Overlay>
impl<Base, Overlay> Sync for ExtendedHostFunctions<Base, Overlay>
impl<Base, Overlay> Unpin for ExtendedHostFunctions<Base, Overlay>
impl<Base, Overlay> UnwindSafe for ExtendedHostFunctions<Base, Overlay>where
Base: UnwindSafe,
Overlay: UnwindSafe,
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