pub struct SimpletonFunction {
pub name: String,
pub arguments: Vec<String>,
pub statements: Vec<SimpletonStatement>,
}
Fields§
§name: String
§arguments: Vec<String>
§statements: Vec<SimpletonStatement>
Implementations§
Source§impl SimpletonFunction
impl SimpletonFunction
pub fn compile( &self, module_name: &str, closures: &mut Vec<SimpletonFunction>, closures_index: &mut usize, ) -> ScriptFunction<'static, SimpletonScriptExpression>
Trait Implementations§
Source§impl Clone for SimpletonFunction
impl Clone for SimpletonFunction
Source§fn clone(&self) -> SimpletonFunction
fn clone(&self) -> SimpletonFunction
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SimpletonFunction
impl Debug for SimpletonFunction
Source§impl<'de> Deserialize<'de> for SimpletonFunction
impl<'de> Deserialize<'de> for SimpletonFunction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SimpletonFunction
impl RefUnwindSafe for SimpletonFunction
impl Send for SimpletonFunction
impl Sync for SimpletonFunction
impl Unpin for SimpletonFunction
impl UnwindSafe for SimpletonFunction
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