pub struct NativeTest { /* private fields */ }Expand description
A runtime whose functions are Rust closures, registered under the hash of the descriptor they implement. For tests only: nothing ties a closure to the descriptor’s body.
Implementations§
Source§impl NativeTest
impl NativeTest
Sourcepub fn new() -> NativeTest
pub fn new() -> NativeTest
A runtime with no functions.
Trait Implementations§
Source§impl Clone for NativeTest
impl Clone for NativeTest
Source§impl Debug for NativeTest
impl Debug for NativeTest
Source§impl Default for NativeTest
impl Default for NativeTest
Auto Trait Implementations§
impl !RefUnwindSafe for NativeTest
impl !UnwindSafe for NativeTest
impl Freeze for NativeTest
impl Send for NativeTest
impl Sync for NativeTest
impl Unpin for NativeTest
impl UnsafeUnpin for NativeTest
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