pub trait CloneableRefs: Tuple {
type Cloned;
// Required method
fn cloned(this: Self) -> Self::Cloned;
}Expand description
The trait for a tuple, all elements of which are references to Clone-able values.
The backbone of the Tuple::cloned function.
The associated functions are not to be used directly, instead use the equivalent free-standing
functions or methods of the Tuple trait.
Required Associated Types§
Sourcetype Cloned
type Cloned
The result of CloneableRefs::cloned
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.