Trait magnus::ArgList

source ·
pub trait ArgList {
    type Output: AsRef<[Value]>;

    fn into_arg_list(self) -> Self::Output;
}
Expand description

Trait for types that can be used as an arguments list when calling Ruby methods.

Required Associated Types§

The type of the arguments list. Must convert to &[Value] with AsRef.

Required Methods§

Convert self into a type that can be used as a Ruby argument list.

Implementations on Foreign Types§

Implementors§