[−][src]Trait kes::builtin::Builtin
Script Builtin trait you can provide your system methods for script
Required methods
#[must_use]pub fn run<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 mut self,
name: &'life1 str,
ctx: &'life2 mut Context<'life3>
) -> Pin<Box<dyn Future<Output = Value> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
name: &'life1 str,
ctx: &'life2 mut Context<'life3>
) -> Pin<Box<dyn Future<Output = Value> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
pub fn print(&mut self, v: Value)
[src]
pub fn new_line(&mut self)
[src]
#[must_use]pub fn wait<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Provided methods
Loading content...Implementations on Foreign Types
impl<'a, B: Builtin> Builtin for &'a mut B
[src]
pub fn run<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 mut self,
name: &'life1 str,
ctx: &'life2 mut Context<'life3>
) -> Pin<Box<dyn Future<Output = Value> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
name: &'life1 str,
ctx: &'life2 mut Context<'life3>
) -> Pin<Box<dyn Future<Output = Value> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
pub fn load(&mut self, name: &str) -> Option<Value>
[src]
pub fn print(&mut self, v: Value)
[src]
pub fn new_line(&mut self)
[src]
pub fn wait<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Implementors
impl Builtin for RecordBuiltin
[src]
pub fn run<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 mut self,
name: &'life1 str,
_ctx: &'life2 mut Context<'life3>
) -> Pin<Box<dyn Future<Output = Value> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
name: &'life1 str,
_ctx: &'life2 mut Context<'life3>
) -> Pin<Box<dyn Future<Output = Value> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
pub fn load(&mut self, name: &str) -> Option<Value>
[src]
pub fn print(&mut self, v: Value)
[src]
pub fn new_line(&mut self)
[src]
pub fn wait<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,