pub struct ScriptDeclaration {
pub trigger: String,
pub name: String,
pub params: Vec<ParamDef>,
pub return_types: Vec<Type>,
pub body: Vec<Statement>,
pub line: usize,
}Fields§
§trigger: String§name: String§params: Vec<ParamDef>§return_types: Vec<Type>§body: Vec<Statement>§line: usizeTrait Implementations§
Source§impl Clone for ScriptDeclaration
impl Clone for ScriptDeclaration
Source§fn clone(&self) -> ScriptDeclaration
fn clone(&self) -> ScriptDeclaration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScriptDeclaration
impl RefUnwindSafe for ScriptDeclaration
impl Send for ScriptDeclaration
impl Sync for ScriptDeclaration
impl Unpin for ScriptDeclaration
impl UnsafeUnpin for ScriptDeclaration
impl UnwindSafe for ScriptDeclaration
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