pub struct Trampoline<'a> { /* private fields */ }
Expand description
A callable trampoline
Implementations§
Source§impl<'a> Trampoline<'a>
impl<'a> Trampoline<'a>
Sourcepub fn call(
&self,
compiled: &CompiledTestFile,
arguments: &[DataValue],
) -> Vec<DataValue>
pub fn call( &self, compiled: &CompiledTestFile, arguments: &[DataValue], ) -> Vec<DataValue>
Call the target function of this trampoline, passing in [DataValue]s using a compiled trampoline.
Auto Trait Implementations§
impl<'a> Freeze for Trampoline<'a>
impl<'a> !RefUnwindSafe for Trampoline<'a>
impl<'a> !Send for Trampoline<'a>
impl<'a> !Sync for Trampoline<'a>
impl<'a> Unpin for Trampoline<'a>
impl<'a> !UnwindSafe for Trampoline<'a>
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