Trait variadics::RefVariadic
source · pub trait RefVariadic: EitherRefVariadic<RefVar = Self> + Sealedwhere
Self: Copy,{ }
Expand description
A variadic where each item is a shared reference &item
.
This can be created using VariadicExt::as_ref_var
:
let as_ref: var_type!(&u32, &String, &bool) =
var_expr!(1_u32, "Hello".to_owned(), false).as_ref_var();
This is a sealed trait.
Object Safety§
This trait is not object safe.