pub trait QCParams: Debug {
type Error: Into<Error>;
// Required methods
fn count(&self) -> usize;
fn nth(&self, index: usize) -> Result<Value, ArgError<Self::Error>>;
}Expand description
The type of values that can be used as arguments to a QuakeC function. Implemented for tuples up to 8 elements (the maximum number of arguments supported by the vanilla Quake engine).
Required Associated Types§
Sourcetype Error: Into<Error>
type Error: Into<Error>
The error returned by QCParams::nth.