[−][src]Trait runestick::Args
Trait for converting arguments onto the stack.
Required methods
fn into_stack(self, stack: &mut Stack) -> Result<(), VmError>
Encode arguments onto a stack.
fn into_vec(self) -> Result<Vec<Value>, VmError>
Convert arguments into a vector.
fn count(&self) -> usize
The number of arguments.
Implementations on Foreign Types
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> Args for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) where
A: ToValue,
B: ToValue,
C: ToValue,
D: ToValue,
E: ToValue,
F: ToValue,
G: ToValue,
H: ToValue,
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
[src]
A: ToValue,
B: ToValue,
C: ToValue,
D: ToValue,
E: ToValue,
F: ToValue,
G: ToValue,
H: ToValue,
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
fn into_stack(self, stack: &mut Stack) -> Result<(), VmError>
[src]
fn into_vec(self) -> Result<Vec<Value>, VmError>
[src]
fn count(&self) -> usize
[src]
impl<B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> Args for (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) where
B: ToValue,
C: ToValue,
D: ToValue,
E: ToValue,
F: ToValue,
G: ToValue,
H: ToValue,
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
[src]
B: ToValue,
C: ToValue,
D: ToValue,
E: ToValue,
F: ToValue,
G: ToValue,
H: ToValue,
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
fn into_stack(self, stack: &mut Stack) -> Result<(), VmError>
[src]
fn into_vec(self) -> Result<Vec<Value>, VmError>
[src]
fn count(&self) -> usize
[src]
impl<C, D, E, F, G, H, I, J, K, L, M, N, O, P> Args for (C, D, E, F, G, H, I, J, K, L, M, N, O, P) where
C: ToValue,
D: ToValue,
E: ToValue,
F: ToValue,
G: ToValue,
H: ToValue,
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
[src]
C: ToValue,
D: ToValue,
E: ToValue,
F: ToValue,
G: ToValue,
H: ToValue,
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
fn into_stack(self, stack: &mut Stack) -> Result<(), VmError>
[src]
fn into_vec(self) -> Result<Vec<Value>, VmError>
[src]
fn count(&self) -> usize
[src]
impl<D, E, F, G, H, I, J, K, L, M, N, O, P> Args for (D, E, F, G, H, I, J, K, L, M, N, O, P) where
D: ToValue,
E: ToValue,
F: ToValue,
G: ToValue,
H: ToValue,
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
[src]
D: ToValue,
E: ToValue,
F: ToValue,
G: ToValue,
H: ToValue,
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
fn into_stack(self, stack: &mut Stack) -> Result<(), VmError>
[src]
fn into_vec(self) -> Result<Vec<Value>, VmError>
[src]
fn count(&self) -> usize
[src]
impl<E, F, G, H, I, J, K, L, M, N, O, P> Args for (E, F, G, H, I, J, K, L, M, N, O, P) where
E: ToValue,
F: ToValue,
G: ToValue,
H: ToValue,
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
[src]
E: ToValue,
F: ToValue,
G: ToValue,
H: ToValue,
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
fn into_stack(self, stack: &mut Stack) -> Result<(), VmError>
[src]
fn into_vec(self) -> Result<Vec<Value>, VmError>
[src]
fn count(&self) -> usize
[src]
impl<F, G, H, I, J, K, L, M, N, O, P> Args for (F, G, H, I, J, K, L, M, N, O, P) where
F: ToValue,
G: ToValue,
H: ToValue,
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
[src]
F: ToValue,
G: ToValue,
H: ToValue,
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
fn into_stack(self, stack: &mut Stack) -> Result<(), VmError>
[src]
fn into_vec(self) -> Result<Vec<Value>, VmError>
[src]
fn count(&self) -> usize
[src]
impl<G, H, I, J, K, L, M, N, O, P> Args for (G, H, I, J, K, L, M, N, O, P) where
G: ToValue,
H: ToValue,
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
[src]
G: ToValue,
H: ToValue,
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
fn into_stack(self, stack: &mut Stack) -> Result<(), VmError>
[src]
fn into_vec(self) -> Result<Vec<Value>, VmError>
[src]
fn count(&self) -> usize
[src]
impl<H, I, J, K, L, M, N, O, P> Args for (H, I, J, K, L, M, N, O, P) where
H: ToValue,
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
[src]
H: ToValue,
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
fn into_stack(self, stack: &mut Stack) -> Result<(), VmError>
[src]
fn into_vec(self) -> Result<Vec<Value>, VmError>
[src]
fn count(&self) -> usize
[src]
impl<I, J, K, L, M, N, O, P> Args for (I, J, K, L, M, N, O, P) where
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
[src]
I: ToValue,
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
fn into_stack(self, stack: &mut Stack) -> Result<(), VmError>
[src]
fn into_vec(self) -> Result<Vec<Value>, VmError>
[src]
fn count(&self) -> usize
[src]
impl<J, K, L, M, N, O, P> Args for (J, K, L, M, N, O, P) where
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
[src]
J: ToValue,
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
fn into_stack(self, stack: &mut Stack) -> Result<(), VmError>
[src]
fn into_vec(self) -> Result<Vec<Value>, VmError>
[src]
fn count(&self) -> usize
[src]
impl<K, L, M, N, O, P> Args for (K, L, M, N, O, P) where
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
[src]
K: ToValue,
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
fn into_stack(self, stack: &mut Stack) -> Result<(), VmError>
[src]
fn into_vec(self) -> Result<Vec<Value>, VmError>
[src]
fn count(&self) -> usize
[src]
impl<L, M, N, O, P> Args for (L, M, N, O, P) where
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
[src]
L: ToValue,
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
fn into_stack(self, stack: &mut Stack) -> Result<(), VmError>
[src]
fn into_vec(self) -> Result<Vec<Value>, VmError>
[src]
fn count(&self) -> usize
[src]
impl<M, N, O, P> Args for (M, N, O, P) where
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
[src]
M: ToValue,
N: ToValue,
O: ToValue,
P: ToValue,
fn into_stack(self, stack: &mut Stack) -> Result<(), VmError>
[src]
fn into_vec(self) -> Result<Vec<Value>, VmError>
[src]
fn count(&self) -> usize
[src]
impl<N, O, P> Args for (N, O, P) where
N: ToValue,
O: ToValue,
P: ToValue,
[src]
N: ToValue,
O: ToValue,
P: ToValue,
fn into_stack(self, stack: &mut Stack) -> Result<(), VmError>
[src]
fn into_vec(self) -> Result<Vec<Value>, VmError>
[src]
fn count(&self) -> usize
[src]
impl<O, P> Args for (O, P) where
O: ToValue,
P: ToValue,
[src]
O: ToValue,
P: ToValue,
fn into_stack(self, stack: &mut Stack) -> Result<(), VmError>
[src]
fn into_vec(self) -> Result<Vec<Value>, VmError>
[src]
fn count(&self) -> usize
[src]
impl<P> Args for (P,) where
P: ToValue,
[src]
P: ToValue,