Struct sp_runtime_interface::wasm::RestoreImplementation
source · pub struct RestoreImplementation<T: 'static + Copy>(/* private fields */);
Expand description
Restores a function implementation on drop.
Stores a static reference to the function object and the original implementation.
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for RestoreImplementation<T>
impl<T> Send for RestoreImplementation<T>where T: Send,
impl<T> Sync for RestoreImplementation<T>where T: Sync,
impl<T> Unpin for RestoreImplementation<T>where T: Unpin,
impl<T> !UnwindSafe for RestoreImplementation<T>
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