Trait magnus::scan_args::ScanArgsSplat
source · pub trait ScanArgsSplat: ScanArgsSplat { }
Expand description
Trait implemented for types that can be retrieved a ‘splat’ argument by
scan_args
.
This trait is implemented for Vec<T>
where T
implements TryConvert
and converts to an owned Rust value (not a handle to a Ruby object). It is
also implemented for RArray
.
()
also impliments this trait as a placeholder indicating no splat
argument is required.