Trait rune::runtime::GuardedArgs
source · pub trait GuardedArgs {
type Guard;
// Required methods
unsafe fn unsafe_into_stack(
self,
stack: &mut Stack
) -> VmResult<Self::Guard>;
fn count(&self) -> usize;
}
Expand description
Trait for converting arguments onto the stack.
This can take references, because it is unsafe to call. And should only be implemented in contexts where it can be guaranteed that the references will not outlive the call.