pub struct ScriptDeclaration {
pub annotations: Vec<Annotation>,
pub trigger: String,
pub name: String,
pub params: Vec<ParamDef>,
pub return_types: Vec<Type>,
pub body: Vec<Statement>,
pub line: usize,
}Fields§
§annotations: Vec<Annotation>§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
Auto Trait Implementations§
impl Forget for ScriptDeclaration
impl Freeze for ScriptDeclaration
impl Move 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