pub struct Signature {
pub params: [usize; 3],
pub returns: [usize; 3],
pub param_types: Vec<Type>,
pub return_types: Vec<Type>,
pub locals: HashMap<String, Type>,
pub order: Option<Vec<BaseVarType>>,
pub return_order: Vec<BaseVarType>,
}Fields§
§params: [usize; 3]§returns: [usize; 3]§param_types: Vec<Type>§return_types: Vec<Type>§locals: HashMap<String, Type>§order: Option<Vec<BaseVarType>>The stack of each parameter in order, when a caller shows it.
return_order: Vec<BaseVarType>The stack of each return value in order, as the script’s end pushes them.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Signature
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnsafeUnpin for Signature
impl UnwindSafe for Signature
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