Trait tuple::Splat [] [src]

pub trait Splat<T> {
    fn splat(_: T) -> Self;
}

splat: copy the argument into all elements

let a = T4::splat(42);
assert_eq!(a,   T4(42, 42, 42, 42));

Required Methods

Implementors