pub struct PiFunction { /* private fields */ }
Expand description
The PI
function.
Implementations§
Trait Implementations§
Source§impl Callable for PiFunction
impl Callable for PiFunction
Source§fn metadata(&self) -> &CallableMetadata
fn metadata(&self) -> &CallableMetadata
Returns the metadata for this function. Read more
Source§fn exec<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scope: Scope<'life1>,
_machine: &'life2 mut Machine,
) -> Pin<Box<dyn Future<Output = CallResult> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn exec<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scope: Scope<'life1>,
_machine: &'life2 mut Machine,
) -> Pin<Box<dyn Future<Output = CallResult> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Executes the function. Read more
Auto Trait Implementations§
impl Freeze for PiFunction
impl RefUnwindSafe for PiFunction
impl Send for PiFunction
impl Sync for PiFunction
impl Unpin for PiFunction
impl UnwindSafe for PiFunction
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