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 implements this trait as a placeholder indicating no splat argument is required.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> ScanArgsSplat for T
where T: ScanArgsSplat,