pub trait PolyfillClone: View + Sized {
// Required method
fn clone(&self) -> Self;
}
Expand description
A temporary replacement Clone
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.
Implementations on Foreign Types§
Source§impl<T1: PolyfillClone, T2: PolyfillClone> PolyfillClone for (T1, T2)
impl<T1: PolyfillClone, T2: PolyfillClone> PolyfillClone for (T1, T2)
Source§impl<T: Copy> PolyfillClone for Vec<T>
impl<T: Copy> PolyfillClone for Vec<T>
Implementors§
impl PolyfillClone for GeneralizedTimeZone
impl PolyfillClone for UTCTimeZone
impl PolyfillClone for GeneralizedTimeValueInner
impl PolyfillClone for NullValue
impl PolyfillClone for ObjectIdentifierValue
impl PolyfillClone for UTCTimeValueInner
impl PolyfillClone for EndValue
impl PolyfillClone for UInt
impl<'a> PolyfillClone for BigIntValue<'a>
impl<'a> PolyfillClone for BitStringValue<'a>
impl<'a, C: Combinator> PolyfillClone for CachedValue<'a, C>
impl<Id: PolyfillClone, Param: PolyfillClone> PolyfillClone for AlgorithmIdentifierPoly<Id, Param>
impl<Id: PolyfillClone, Param: PolyfillClone> PolyfillClone for ExtensionPoly<Id, Param>
impl<T1: PolyfillClone, T2: PolyfillClone> PolyfillClone for Either<T1, T2>
impl<T1: PolyfillClone, T2: PolyfillClone> PolyfillClone for PairValue<T1, T2>
impl<T: PolyfillClone> PolyfillClone for OptionDeep<T>
impl<T: PolyfillClone> PolyfillClone for VecDeep<T>
Cloning VecDeep clones each element