Trait Clone

1.6.0 · Source
pub trait Clone: Sized {
    // Required method
    fn clone(&self) -> Self;

    // Provided method
    fn clone_from(&mut self, source: &Self) { ... }
}
Expand description

A common trait for the ability to explicitly duplicate an object.

Differs from Copy in that Copy is implicit and an inexpensive bit-wise copy, while Clone is always explicit and may or may not be expensive. In order to enforce these characteristics, Rust does not allow you to reimplement Copy, but you may reimplement Clone and run arbitrary code.

Since Clone is more general than Copy, you can automatically make anything Copy be Clone as well.

§Derivable

This trait can be used with #[derive] if all fields are Clone. The derived implementation of Clone calls clone on each field.

For a generic struct, #[derive] implements Clone conditionally by adding bound Clone on generic parameters.

// `derive` implements Clone for Reading<T> when T is Clone.
#[derive(Clone)]
struct Reading<T> {
    frequency: T,
}

§How can I implement Clone?

Types that are Copy should have a trivial implementation of Clone. More formally: if T: Copy, x: T, and y: &T, then let x = y.clone(); is equivalent to let x = *y;. Manual implementations should be careful to uphold this invariant; however, unsafe code must not rely on it to ensure memory safety.

An example is a generic struct holding a function pointer. In this case, the implementation of Clone cannot be derived, but can be implemented as:

struct Generate<T>(fn() -> T);

impl<T> Copy for Generate<T> {}

impl<T> Clone for Generate<T> {
    fn clone(&self) -> Self {
        *self
    }
}

If we derive:

#[derive(Copy, Clone)]
struct Generate<T>(fn() -> T);

the auto-derived implementations will have unnecessary T: Copy and T: Clone bounds:


// Automatically derived
impl<T: Copy> Copy for Generate<T> { }

// Automatically derived
impl<T: Clone> Clone for Generate<T> {
    fn clone(&self) -> Generate<T> {
        Generate(Clone::clone(&self.0))
    }
}

The bounds are unnecessary because clearly the function itself should be copy- and cloneable even if its return type is not:

#[derive(Copy, Clone)]
struct Generate<T>(fn() -> T);

struct NotCloneable;

fn generate_not_cloneable() -> NotCloneable {
    NotCloneable
}

Generate(generate_not_cloneable).clone(); // error: trait bounds were not satisfied
// Note: With the manual implementations the above line will compile.

§Additional implementors

In addition to the implementors listed below, the following types also implement Clone:

  • Function item types (i.e., the distinct types defined for each function)
  • Function pointer types (e.g., fn() -> i32)
  • Closure types, if they capture no value from the environment or if all such captured values implement Clone themselves. Note that variables captured by shared reference always implement Clone (even if the referent doesn’t), while variables captured by mutable reference never implement Clone.

Required Methods§

1.0.0 · Source

fn clone(&self) -> Self

Returns a copy of the value.

§Examples
let hello = "Hello"; // &str implements Clone

assert_eq!("Hello", hello.clone());

Provided Methods§

1.0.0 · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source.

a.clone_from(&b) is equivalent to a = b.clone() in functionality, but can be overridden to reuse the resources of a to avoid unnecessary allocations.

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.

Implementors§

Source§

impl Clone for AsciiChar

Source§

impl Clone for CharErrorKind

Source§

impl Clone for EscapeDebugInner

1.0.0 · Source§

impl Clone for core::cmp::Ordering

1.34.0 · Source§

impl Clone for Infallible

1.64.0 · Source§

impl Clone for FromBytesWithNulError

1.28.0 · Source§

impl Clone for core::fmt::Alignment

Source§

impl Clone for DebugAsHex

Source§

impl Clone for core::fmt::Sign

Source§

impl Clone for Count

1.7.0 · Source§

impl Clone for IpAddr

Source§

impl Clone for Ipv6MulticastScope

Source§

impl Clone for AddrKind

1.0.0 · Source§

impl Clone for SocketAddr

Source§

impl Clone for FloatErrorKind

1.0.0 · Source§

impl Clone for FpCategory

1.55.0 · Source§

impl Clone for IntErrorKind

Source§

impl Clone for FullDecoded

Source§

impl Clone for core::num::flt2dec::Sign

Source§

impl Clone for AlignmentEnum

1.86.0 · Source§

impl Clone for GetDisjointMutError

Source§

impl Clone for SearchStep

Source§

impl Clone for StrSearcherImpl

1.0.0 · Source§

impl Clone for core::sync::atomic::Ordering

Source§

impl Clone for TryFromFloatSecsErrorKind

1.0.0 · Source§

impl Clone for bool

1.0.0 · Source§

impl Clone for char

1.0.0 · Source§

impl Clone for f16

1.0.0 · Source§

impl Clone for f32

1.0.0 · Source§

impl Clone for f64

1.0.0 · Source§

impl Clone for f128

1.0.0 · Source§

impl Clone for i8

1.0.0 · Source§

impl Clone for i16

1.0.0 · Source§

impl Clone for i32

1.0.0 · Source§

impl Clone for i64

1.0.0 · Source§

impl Clone for i128

1.0.0 · Source§

impl Clone for isize

Source§

impl Clone for !

1.0.0 · Source§

impl Clone for u8

1.0.0 · Source§

impl Clone for u16

1.0.0 · Source§

impl Clone for u32

1.0.0 · Source§

impl Clone for u64

1.0.0 · Source§

impl Clone for u128

1.0.0 · Source§

impl Clone for usize

1.28.0 · Source§

impl Clone for Layout

1.50.0 · Source§

impl Clone for LayoutError

Source§

impl Clone for AllocError

1.0.0 · Source§

impl Clone for TypeId

1.34.0 · Source§

impl Clone for TryFromSliceError

1.0.0 · Source§

impl Clone for core::ascii::EscapeDefault

Source§

impl Clone for BorrowRef<'_>

1.34.0 · Source§

impl Clone for CharTryFromError

1.20.0 · Source§

impl Clone for ParseCharError

1.9.0 · Source§

impl Clone for DecodeUtf16Error

Source§

impl Clone for CaseMappingIter

1.20.0 · Source§

impl Clone for core::char::EscapeDebug

1.0.0 · Source§

impl Clone for core::char::EscapeDefault

1.0.0 · Source§

impl Clone for core::char::EscapeUnicode

1.0.0 · Source§

impl Clone for ToLowercase

1.0.0 · Source§

impl Clone for ToUppercase

1.59.0 · Source§

impl Clone for TryFromCharError

1.59.0 · Source§

impl Clone for float64x1_t

Available on AArch64 or target_arch="arm64ec" only.
1.59.0 · Source§

impl Clone for float64x1x2_t

Available on AArch64 or target_arch="arm64ec" only.
1.59.0 · Source§

impl Clone for float64x1x3_t

Available on AArch64 or target_arch="arm64ec" only.
1.59.0 · Source§

impl Clone for float64x1x4_t

Available on AArch64 or target_arch="arm64ec" only.
1.59.0 · Source§

impl Clone for float64x2_t

Available on AArch64 or target_arch="arm64ec" only.
1.59.0 · Source§

impl Clone for float64x2x2_t

Available on AArch64 or target_arch="arm64ec" only.
1.59.0 · Source§

impl Clone for float64x2x3_t

Available on AArch64 or target_arch="arm64ec" only.
1.59.0 · Source§

impl Clone for float64x2x4_t

Available on AArch64 or target_arch="arm64ec" only.
1.59.0 · Source§

impl Clone for float16x4_t

Source§

impl Clone for float16x4x2_t

Source§

impl Clone for float16x4x3_t

Source§

impl Clone for float16x4x4_t

1.59.0 · Source§

impl Clone for float16x8_t

Source§

impl Clone for float16x8x2_t

Source§

impl Clone for float16x8x3_t

Source§

impl Clone for float16x8x4_t

1.59.0 · Source§

impl Clone for float32x2_t

1.59.0 · Source§

impl Clone for float32x2x2_t

1.59.0 · Source§

impl Clone for float32x2x3_t

1.59.0 · Source§

impl Clone for float32x2x4_t

1.59.0 · Source§

impl Clone for float32x4_t

1.59.0 · Source§

impl Clone for float32x4x2_t

1.59.0 · Source§

impl Clone for float32x4x3_t

1.59.0 · Source§

impl Clone for float32x4x4_t

1.59.0 · Source§

impl Clone for int8x8_t

1.59.0 · Source§

impl Clone for int8x8x2_t

1.59.0 · Source§

impl Clone for int8x8x3_t

1.59.0 · Source§

impl Clone for int8x8x4_t

1.59.0 · Source§

impl Clone for int8x16_t

1.59.0 · Source§

impl Clone for int8x16x2_t

1.59.0 · Source§

impl Clone for int8x16x3_t

1.59.0 · Source§

impl Clone for int8x16x4_t

1.59.0 · Source§

impl Clone for int16x4_t

1.59.0 · Source§

impl Clone for int16x4x2_t

1.59.0 · Source§

impl Clone for int16x4x3_t

1.59.0 · Source§

impl Clone for int16x4x4_t

1.59.0 · Source§

impl Clone for int16x8_t

1.59.0 · Source§

impl Clone for int16x8x2_t

1.59.0 · Source§

impl Clone for int16x8x3_t

1.59.0 · Source§

impl Clone for int16x8x4_t

1.59.0 · Source§

impl Clone for int32x2_t

1.59.0 · Source§

impl Clone for int32x2x2_t

1.59.0 · Source§

impl Clone for int32x2x3_t

1.59.0 · Source§

impl Clone for int32x2x4_t

1.59.0 · Source§

impl Clone for int32x4_t

1.59.0 · Source§

impl Clone for int32x4x2_t

1.59.0 · Source§

impl Clone for int32x4x3_t

1.59.0 · Source§

impl Clone for int32x4x4_t

1.59.0 · Source§

impl Clone for int64x1_t

1.59.0 · Source§

impl Clone for int64x1x2_t

1.59.0 · Source§

impl Clone for int64x1x3_t

1.59.0 · Source§

impl Clone for int64x1x4_t

1.59.0 · Source§

impl Clone for int64x2_t

1.59.0 · Source§

impl Clone for int64x2x2_t

1.59.0 · Source§

impl Clone for int64x2x3_t

1.59.0 · Source§

impl Clone for int64x2x4_t

1.59.0 · Source§

impl Clone for poly8x8_t

1.59.0 · Source§

impl Clone for poly8x8x2_t

1.59.0 · Source§

impl Clone for poly8x8x3_t

1.59.0 · Source§

impl Clone for poly8x8x4_t

1.59.0 · Source§

impl Clone for poly8x16_t

1.59.0 · Source§

impl Clone for poly8x16x2_t

1.59.0 · Source§

impl Clone for poly8x16x3_t

1.59.0 · Source§

impl Clone for poly8x16x4_t

1.59.0 · Source§

impl Clone for poly16x4_t

1.59.0 · Source§

impl Clone for poly16x4x2_t

1.59.0 · Source§

impl Clone for poly16x4x3_t

1.59.0 · Source§

impl Clone for poly16x4x4_t

1.59.0 · Source§

impl Clone for poly16x8_t

1.59.0 · Source§

impl Clone for poly16x8x2_t

1.59.0 · Source§

impl Clone for poly16x8x3_t

1.59.0 · Source§

impl Clone for poly16x8x4_t

1.59.0 · Source§

impl Clone for poly64x1_t

1.59.0 · Source§

impl Clone for poly64x1x2_t

1.59.0 · Source§

impl Clone for poly64x1x3_t

1.59.0 · Source§

impl Clone for poly64x1x4_t

1.59.0 · Source§

impl Clone for poly64x2_t

1.59.0 · Source§

impl Clone for poly64x2x2_t

1.59.0 · Source§

impl Clone for poly64x2x3_t

1.59.0 · Source§

impl Clone for poly64x2x4_t

1.59.0 · Source§

impl Clone for uint8x8_t

1.59.0 · Source§

impl Clone for uint8x8x2_t

1.59.0 · Source§

impl Clone for uint8x8x3_t

1.59.0 · Source§

impl Clone for uint8x8x4_t

1.59.0 · Source§

impl Clone for uint8x16_t

1.59.0 · Source§

impl Clone for uint8x16x2_t

1.59.0 · Source§

impl Clone for uint8x16x3_t

1.59.0 · Source§

impl Clone for uint8x16x4_t

1.59.0 · Source§

impl Clone for uint16x4_t

1.59.0 · Source§

impl Clone for uint16x4x2_t

1.59.0 · Source§

impl Clone for uint16x4x3_t

1.59.0 · Source§

impl Clone for uint16x4x4_t

1.59.0 · Source§

impl Clone for uint16x8_t

1.59.0 · Source§

impl Clone for uint16x8x2_t

1.59.0 · Source§

impl Clone for uint16x8x3_t

1.59.0 · Source§

impl Clone for uint16x8x4_t

1.59.0 · Source§

impl Clone for uint32x2_t

1.59.0 · Source§

impl Clone for uint32x2x2_t

1.59.0 · Source§

impl Clone for uint32x2x3_t

1.59.0 · Source§

impl Clone for uint32x2x4_t

1.59.0 · Source§

impl Clone for uint32x4_t

1.59.0 · Source§

impl Clone for uint32x4x2_t

1.59.0 · Source§

impl Clone for uint32x4x3_t

1.59.0 · Source§

impl Clone for uint32x4x4_t

1.59.0 · Source§

impl Clone for uint64x1_t

1.59.0 · Source§

impl Clone for uint64x1x2_t

1.59.0 · Source§

impl Clone for uint64x1x3_t

1.59.0 · Source§

impl Clone for uint64x1x4_t

1.59.0 · Source§

impl Clone for uint64x2_t

1.59.0 · Source§

impl Clone for uint64x2x2_t

1.59.0 · Source§

impl Clone for uint64x2x3_t

1.59.0 · Source§

impl Clone for uint64x2x4_t

Source§

impl Clone for v4f64

Available on LoongArch LA64 only.
Source§

impl Clone for v4i64

Available on LoongArch LA64 only.
Source§

impl Clone for v4u64

Available on LoongArch LA64 only.
Source§

impl Clone for v8f32

Available on LoongArch LA64 only.
Source§

impl Clone for v8i32

Available on LoongArch LA64 only.
Source§

impl Clone for v8u32

Available on LoongArch LA64 only.
Source§

impl Clone for v16i16

Available on LoongArch LA64 only.
Source§

impl Clone for v16u16

Available on LoongArch LA64 only.
Source§

impl Clone for v32i8

Available on LoongArch LA64 only.
Source§

impl Clone for v32u8

Available on LoongArch LA64 only.
Source§

impl Clone for v2f64

Available on LoongArch LA64 only.
Source§

impl Clone for v2i64

Available on LoongArch LA64 only.
Source§

impl Clone for v2u64

Available on LoongArch LA64 only.
Source§

impl Clone for v4f32

Available on LoongArch LA64 only.
Source§

impl Clone for v4i32

Available on LoongArch LA64 only.
Source§

impl Clone for v4u32

Available on LoongArch LA64 only.
Source§

impl Clone for v8i16

Available on LoongArch LA64 only.
Source§

impl Clone for v8u16

Available on LoongArch LA64 only.
Source§

impl Clone for v16i8

Available on LoongArch LA64 only.
Source§

impl Clone for v16u8

Available on LoongArch LA64 only.
Source§

impl Clone for f16x2

Available on target_arch="nvptx64" only.
Source§

impl Clone for core::core_arch::powerpc::altivec::vector_bool_char

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for core::core_arch::powerpc::altivec::vector_bool_int

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for core::core_arch::powerpc::altivec::vector_bool_short

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for core::core_arch::powerpc::altivec::vector_float

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for core::core_arch::powerpc::altivec::vector_signed_char

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for core::core_arch::powerpc::altivec::vector_signed_int

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for core::core_arch::powerpc::altivec::vector_signed_short

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for core::core_arch::powerpc::altivec::vector_unsigned_char

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for core::core_arch::powerpc::altivec::vector_unsigned_int

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for core::core_arch::powerpc::altivec::vector_unsigned_short

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for vector_bool_long

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for core::core_arch::powerpc::vsx::vector_double

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for vector_signed_long

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for vector_unsigned_long

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for core::core_arch::s390x::vector::vector_bool_char

Available on s390x only.
Source§

impl Clone for core::core_arch::s390x::vector::vector_bool_int

Available on s390x only.
Source§

impl Clone for vector_bool_long_long

Available on s390x only.
Source§

impl Clone for core::core_arch::s390x::vector::vector_bool_short

Available on s390x only.
Source§

impl Clone for core::core_arch::s390x::vector::vector_double

Available on s390x only.
Source§

impl Clone for core::core_arch::s390x::vector::vector_float

Available on s390x only.
Source§

impl Clone for core::core_arch::s390x::vector::vector_signed_char

Available on s390x only.
Source§

impl Clone for core::core_arch::s390x::vector::vector_signed_int

Available on s390x only.
Source§

impl Clone for vector_signed_long_long

Available on s390x only.
Source§

impl Clone for core::core_arch::s390x::vector::vector_signed_short

Available on s390x only.
Source§

impl Clone for core::core_arch::s390x::vector::vector_unsigned_char

Available on s390x only.
Source§

impl Clone for core::core_arch::s390x::vector::vector_unsigned_int

Available on s390x only.
Source§

impl Clone for vector_unsigned_long_long

Available on s390x only.
Source§

impl Clone for core::core_arch::s390x::vector::vector_unsigned_short

Available on s390x only.
Source§

impl Clone for f16x4

Source§

impl Clone for f16x8

Source§

impl Clone for f16x16

Source§

impl Clone for f16x32

Source§

impl Clone for f32x2

Source§

impl Clone for f32x4

Source§

impl Clone for f32x8

Source§

impl Clone for f32x16

Source§

impl Clone for f64x1

Source§

impl Clone for f64x2

Source§

impl Clone for f64x4

Source§

impl Clone for f64x8

Source§

impl Clone for i8x2

Source§

impl Clone for i8x4

Source§

impl Clone for i8x8

Source§

impl Clone for i8x16

Source§

impl Clone for i8x32

Source§

impl Clone for i8x64

Source§

impl Clone for i16x2

Source§

impl Clone for i16x4

Source§

impl Clone for i16x8

Source§

impl Clone for i16x16

Source§

impl Clone for i16x32

Source§

impl Clone for i32x2

Source§

impl Clone for i32x4

Source§

impl Clone for i32x8

Source§

impl Clone for i32x16

Source§

impl Clone for i32x32

Source§

impl Clone for i64x1

Source§

impl Clone for i64x2

Source§

impl Clone for i64x4

Source§

impl Clone for i64x8

Source§

impl Clone for m8x16

Source§

impl Clone for m8x32

Source§

impl Clone for m16x8

Source§

impl Clone for m16x16

Source§

impl Clone for m32x4

Source§

impl Clone for m32x8

Source§

impl Clone for m64x2

Source§

impl Clone for u8x2

Source§

impl Clone for u8x4

Source§

impl Clone for u8x8

Source§

impl Clone for u8x16

Source§

impl Clone for u8x32

Source§

impl Clone for u8x64

Source§

impl Clone for u16x2

Source§

impl Clone for u16x4

Source§

impl Clone for u16x8

Source§

impl Clone for u16x16

Source§

impl Clone for u16x32

Source§

impl Clone for u16x64

Source§

impl Clone for u32x2

Source§

impl Clone for u32x4

Source§

impl Clone for u32x8

Source§

impl Clone for u32x16

Source§

impl Clone for u32x32

Source§

impl Clone for u64x1

Source§

impl Clone for u64x2

Source§

impl Clone for u64x4

Source§

impl Clone for u64x8

1.54.0 · Source§

impl Clone for v128

Available on target_family="wasm" only.
1.27.0 · Source§

impl Clone for CpuidResult

Available on x86 or x86-64 only.
1.27.0 · Source§

impl Clone for __m128

Available on x86 or x86-64 only.
Source§

impl Clone for __m128bh

Available on x86 or x86-64 only.
1.27.0 · Source§

impl Clone for __m128d

Available on x86 or x86-64 only.
Source§

impl Clone for __m128h

Available on x86 or x86-64 only.
1.27.0 · Source§

impl Clone for __m128i

Available on x86 or x86-64 only.
1.27.0 · Source§

impl Clone for __m256

Available on x86 or x86-64 only.
Source§

impl Clone for __m256bh

Available on x86 or x86-64 only.
1.27.0 · Source§

impl Clone for __m256d

Available on x86 or x86-64 only.
Source§

impl Clone for __m256h

Available on x86 or x86-64 only.
1.27.0 · Source§

impl Clone for __m256i

Available on x86 or x86-64 only.
1.72.0 · Source§

impl Clone for __m512

Available on x86 or x86-64 only.
Source§

impl Clone for __m512bh

Available on x86 or x86-64 only.
1.72.0 · Source§

impl Clone for __m512d

Available on x86 or x86-64 only.
Source§

impl Clone for __m512h

Available on x86 or x86-64 only.
1.72.0 · Source§

impl Clone for __m512i

Available on x86 or x86-64 only.
Source§

impl Clone for bf16

Available on x86 or x86-64 only.
1.69.0 · Source§

impl Clone for FromBytesUntilNulError

Source§

impl Clone for Binary

Source§

impl Clone for LowerHex

Source§

impl Clone for Octal

Source§

impl Clone for UpperHex

Source§

impl Clone for Placeholder

1.0.0 · Source§

impl Clone for Error

Source§

impl Clone for FormattingOptions

Source§

impl Clone for ResumeTy

Source§

impl Clone for Sip13Rounds

Source§

impl Clone for Sip24Rounds

Source§

impl Clone for SipHasher13

Source§

impl Clone for SipHasher24

1.0.0 · Source§

impl Clone for SipHasher

Source§

impl Clone for State

1.33.0 · Source§

impl Clone for PhantomPinned

Source§

impl Clone for Assume

1.0.0 · Source§

impl Clone for Ipv4Addr

1.0.0 · Source§

impl Clone for Ipv6Addr

1.0.0 · Source§

impl Clone for AddrParseError

1.0.0 · Source§

impl Clone for SocketAddrV4

1.0.0 · Source§

impl Clone for SocketAddrV6

Source§

impl Clone for Big32x40

Source§

impl Clone for Big8x3

Source§

impl Clone for BiasedFp

Source§

impl Clone for Decimal

Source§

impl Clone for DecimalSeq

1.0.0 · Source§

impl Clone for ParseFloatError

Source§

impl Clone for Fp

1.0.0 · Source§

impl Clone for ParseIntError

1.34.0 · Source§

impl Clone for TryFromIntError

Source§

impl Clone for Decoded

Source§

impl Clone for I32NotAllOnes

Source§

impl Clone for I64NotAllOnes

Source§

impl Clone for Nanoseconds

Source§

impl Clone for NonZeroI8Inner

Source§

impl Clone for NonZeroI16Inner

Source§

impl Clone for NonZeroI32Inner

Source§

impl Clone for NonZeroI64Inner

Source§

impl Clone for NonZeroI128Inner

Source§

impl Clone for NonZeroIsizeInner

Source§

impl Clone for NonZeroU8Inner

Source§

impl Clone for NonZeroU16Inner

Source§

impl Clone for NonZeroU32Inner

Source§

impl Clone for NonZeroU64Inner

Source§

impl Clone for NonZeroU128Inner

Source§

impl Clone for NonZeroUsizeInner

Source§

impl Clone for U32NotAllOnes

Source§

impl Clone for U64NotAllOnes

Source§

impl Clone for UsizeNoHighBit

Source§

impl Clone for IndexRange

Source§

impl Clone for core::ptr::alignment::Alignment

1.0.0 · Source§

impl Clone for RangeFull

Source§

impl Clone for EscapeByte

Source§

impl Clone for DriftsortRun

1.0.0 · Source§

impl Clone for ParseBoolError

1.0.0 · Source§

impl Clone for Utf8Error

Source§

impl Clone for EmptyNeedle

Source§

impl Clone for TwoWaySearcher

Source§

impl Clone for BytesIsNotEmpty

Source§

impl Clone for CharEscapeDebugContinue

Source§

impl Clone for CharEscapeDefault

Source§

impl Clone for CharEscapeUnicode

Source§

impl Clone for IsAsciiWhitespace

Source§

impl Clone for IsNotEmpty

Source§

impl Clone for IsWhitespace

Source§

impl Clone for LinesMap

Source§

impl Clone for UnsafeBytesToStr

Source§

impl Clone for LocalWaker

1.36.0 · Source§

impl Clone for RawWakerVTable

1.36.0 · Source§

impl Clone for Waker

1.3.0 · Source§

impl Clone for Duration

1.66.0 · Source§

impl Clone for TryFromFloatSecsError

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Source§

impl Clone for JustOne

Available on x86 or x86-64 only.
Source§

impl Clone for JustOne

Available on x86 or x86-64 only.
Source§

impl Clone for JustOne

Available on x86 or x86-64 only.
Source§

impl Clone for JustOne

Available on x86 or x86-64 only.
Source§

impl Clone for JustOne

Available on x86 or x86-64 only.
Source§

impl Clone for JustOne

Available on x86 or x86-64 only.
Source§

impl Clone for JustOne

Available on x86 or x86-64 only.
Source§

impl Clone for JustOne

Available on x86 or x86-64 only.
Source§

impl Clone for JustOne

Available on x86 or x86-64 only.
Source§

impl Clone for JustOne

Available on x86 or x86-64 only.
Source§

impl Clone for JustOne

Available on x86 or x86-64 only.
Source§

impl Clone for JustOne

Available on x86 or x86-64 only.
Source§

impl Clone for JustOne

Available on x86 or x86-64 only.
Source§

impl Clone for JustOne

Available on x86 or x86-64 only.
Source§

impl Clone for JustOne

Available on x86 or x86-64 only.
Source§

impl Clone for JustOne

Available on AArch64 or target_arch="arm64ec" only.
Source§

impl Clone for JustOne

Available on AArch64 or target_arch="arm64ec" only.
Source§

impl Clone for JustOne

Available on target_family="wasm" only.
Source§

impl Clone for JustOne

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for JustOne

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for JustOne

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for JustOne

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for JustOne

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for JustOne

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for JustOne

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for JustOne

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for JustOne

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for JustOne

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for JustOne

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for JustOne

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for JustOne

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for JustOne

Available on PowerPC or PowerPC-64 only.
Source§

impl Clone for JustOne

Available on target_arch="nvptx64" only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on LoongArch LA64 only.
Source§

impl Clone for JustOne

Available on s390x only.
Source§

impl Clone for JustOne

Available on s390x only.
Source§

impl Clone for JustOne

Available on s390x only.
Source§

impl Clone for JustOne

Available on s390x only.
Source§

impl Clone for JustOne

Available on s390x only.
Source§

impl Clone for JustOne

Available on s390x only.
Source§

impl Clone for JustOne

Available on s390x only.
Source§

impl Clone for JustOne

Available on s390x only.
Source§

impl Clone for JustOne

Available on s390x only.
Source§

impl Clone for JustOne

Available on s390x only.
Source§

impl Clone for JustOne

Available on s390x only.
Source§

impl Clone for JustOne

Available on s390x only.
Source§

impl Clone for JustOne

Available on s390x only.
Source§

impl Clone for JustOne

Available on s390x only.
Source§

impl Clone for Span

Source§

impl<'a> Clone for ArgumentType<'a>

Source§

impl<'a> Clone for Part<'a>

Source§

impl<'a> Clone for Utf8Pattern<'a>

Source§

impl<'a> Clone for Source<'a>

Source§

impl<'a> Clone for core::ffi::c_str::Bytes<'a>

Source§

impl<'a> Clone for Argument<'a>

1.0.0 · Source§

impl<'a> Clone for Arguments<'a>

Source§

impl<'a> Clone for PhantomContravariantLifetime<'a>

Source§

impl<'a> Clone for PhantomCovariantLifetime<'a>

Source§

impl<'a> Clone for PhantomInvariantLifetime<'a>

Source§

impl<'a> Clone for Formatted<'a>

1.10.0 · Source§

impl<'a> Clone for Location<'a>

1.60.0 · Source§

impl<'a> Clone for EscapeAscii<'a>

1.0.0 · Source§

impl<'a> Clone for core::str::iter::Bytes<'a>

1.0.0 · Source§

impl<'a> Clone for CharIndices<'a>

1.0.0 · Source§

impl<'a> Clone for Chars<'a>

1.8.0 · Source§

impl<'a> Clone for EncodeUtf16<'a>

1.34.0 · Source§

impl<'a> Clone for core::str::iter::EscapeDebug<'a>

1.34.0 · Source§

impl<'a> Clone for core::str::iter::EscapeDefault<'a>

1.34.0 · Source§

impl<'a> Clone for core::str::iter::EscapeUnicode<'a>

1.0.0 · Source§

impl<'a> Clone for Lines<'a>

1.0.0 · Source§

impl<'a> Clone for LinesAny<'a>

1.34.0 · Source§

impl<'a> Clone for SplitAsciiWhitespace<'a>

1.1.0 · Source§

impl<'a> Clone for SplitWhitespace<'a>

1.79.0 · Source§

impl<'a> Clone for Utf8Chunk<'a>

1.79.0 · Source§

impl<'a> Clone for Utf8Chunks<'a>

Source§

impl<'a> Clone for CharSearcher<'a>

Source§

impl<'a, 'b> Clone for CharSliceSearcher<'a, 'b>

Source§

impl<'a, 'b> Clone for StrSearcher<'a, 'b>

Source§

impl<'a, 'b, const N: usize> Clone for CharArrayRefSearcher<'a, 'b, N>

Source§

impl<'a, C: Clone + MultiCharEq> Clone for MultiCharEqSearcher<'a, C>

Source§

impl<'a, F> Clone for CharPredicateSearcher<'a, F>
where F: FnMut(char) -> bool + Clone,

1.5.0 · Source§

impl<'a, P> Clone for MatchIndices<'a, P>
where P: Pattern<Searcher<'a>: Clone>,

Source§

impl<'a, P> Clone for MatchIndicesInternal<'a, P>
where P: Pattern<Searcher<'a>: Clone>,

1.2.0 · Source§

impl<'a, P> Clone for Matches<'a, P>
where P: Pattern<Searcher<'a>: Clone>,

Source§

impl<'a, P> Clone for MatchesInternal<'a, P>
where P: Pattern<Searcher<'a>: Clone>,

1.5.0 · Source§

impl<'a, P> Clone for RMatchIndices<'a, P>
where P: Pattern<Searcher<'a>: Clone>,

1.2.0 · Source§

impl<'a, P> Clone for RMatches<'a, P>
where P: Pattern<Searcher<'a>: Clone>,

1.0.0 · Source§

impl<'a, P> Clone for core::str::iter::RSplit<'a, P>
where P: Pattern<Searcher<'a>: Clone>,

1.0.0 · Source§

impl<'a, P> Clone for RSplitN<'a, P>
where P: Pattern<Searcher<'a>: Clone>,

1.0.0 · Source§

impl<'a, P> Clone for RSplitTerminator<'a, P>
where P: Pattern<Searcher<'a>: Clone>,

1.0.0 · Source§

impl<'a, P> Clone for core::str::iter::Split<'a, P>
where P: Pattern<Searcher<'a>: Clone>,

Source§

impl<'a, P> Clone for SplitInternal<'a, P>
where P: Pattern<Searcher<'a>: Clone>,

1.0.0 · Source§

impl<'a, P> Clone for SplitN<'a, P>
where P: Pattern<Searcher<'a>: Clone>,

Source§

impl<'a, P> Clone for SplitNInternal<'a, P>
where P: Pattern<Searcher<'a>: Clone>,

1.0.0 · Source§

impl<'a, P> Clone for SplitTerminator<'a, P>
where P: Pattern<Searcher<'a>: Clone>,

1.51.0 · Source§

impl<'a, P: Pattern<Searcher<'a>: Clone>> Clone for core::str::iter::SplitInclusive<'a, P>

1.31.0 · Source§

impl<'a, T> Clone for RChunksExact<'a, T>

Source§

impl<'a, T: Clone + 'a, const N: usize> Clone for ArrayWindows<'a, T, N>

Source§

impl<'a, const N: usize> Clone for CharArraySearcher<'a, N>

Source§

impl<'f> Clone for VaListImpl<'f>

1.0.0 · Source§

impl<A> Clone for core::option::Iter<'_, A>

1.0.0 · Source§

impl<A: Clone> Clone for Repeat<A>

1.82.0 · Source§

impl<A: Clone> Clone for RepeatN<A>

1.0.0 · Source§

impl<A: Clone> Clone for core::option::IntoIter<A>

Source§

impl<A: Clone> Clone for Item<A>

Source§

impl<A: Clone> Clone for IterRange<A>

Source§

impl<A: Clone> Clone for IterRangeFrom<A>

Source§

impl<A: Clone> Clone for IterRangeInclusive<A>

1.0.0 · Source§

impl<A: Clone, B: Clone> Clone for Chain<A, B>

1.0.0 · Source§

impl<A: Clone, B: Clone> Clone for Zip<A, B>

1.55.0 · Source§

impl<B: Clone, C: Clone> Clone for ControlFlow<B, C>

Source§

impl<Dyn: ?Sized> Clone for DynMetadata<Dyn>

1.34.0 · Source§

impl<F: Clone> Clone for FromFn<F>

1.43.0 · Source§

impl<F: Clone> Clone for OnceWith<F>

1.28.0 · Source§

impl<F: Clone> Clone for RepeatWith<F>

Source§

impl<G: Clone> Clone for FromCoroutine<G>

1.7.0 · Source§

impl<H> Clone for BuildHasherDefault<H>

1.9.0 · Source§

impl<I> Clone for DecodeUtf16<I>
where I: Iterator<Item = u16> + Clone,

Source§

impl<I, F, const N: usize> Clone for MapWindows<I, F, N>
where I: Iterator + Clone, F: Clone, I::Item: Clone,

Source§

impl<I, G> Clone for IntersperseWith<I, G>
where I: Iterator + Clone, I::Item: Clone, G: Clone,

1.29.0 · Source§

impl<I, U> Clone for Flatten<I>
where I: Clone + Iterator<Item: IntoIterator<IntoIter = U, Item = U::Item>>, U: Clone + Iterator,

Source§

impl<I, const N: usize> Clone for MapWindowsInner<I, N>
where I: Iterator + Clone, I::Item: Clone,

Source§

impl<I: Clone + Iterator> Clone for Intersperse<I>
where I::Item: Clone + Clone,

1.0.0 · Source§

impl<I: Clone + Iterator> Clone for Peekable<I>
where I::Item: Clone,

Source§

impl<I: Clone + Iterator, const N: usize> Clone for core::iter::adapters::array_chunks::ArrayChunks<I, N>
where I::Item: Clone,

Source§

impl<I: Clone> Clone for FromIter<I>

1.1.0 · Source§

impl<I: Clone> Clone for Cloned<I>

1.36.0 · Source§

impl<I: Clone> Clone for Copied<I>

1.0.0 · Source§

impl<I: Clone> Clone for Cycle<I>

1.0.0 · Source§

impl<I: Clone> Clone for Enumerate<I>

1.0.0 · Source§

impl<I: Clone> Clone for Fuse<I>

1.0.0 · Source§

impl<I: Clone> Clone for Skip<I>

1.28.0 · Source§

impl<I: Clone> Clone for StepBy<I>

1.0.0 · Source§

impl<I: Clone> Clone for Take<I>

1.0.0 · Source§

impl<I: Clone, F: Clone> Clone for FilterMap<I, F>

1.0.0 · Source§

impl<I: Clone, F: Clone> Clone for Inspect<I, F>

1.0.0 · Source§

impl<I: Clone, F: Clone> Clone for Map<I, F>

1.0.0 · Source§

impl<I: Clone, P: Clone> Clone for Filter<I, P>

1.57.0 · Source§

impl<I: Clone, P: Clone> Clone for MapWhile<I, P>

1.0.0 · Source§

impl<I: Clone, P: Clone> Clone for SkipWhile<I, P>

1.0.0 · Source§

impl<I: Clone, P: Clone> Clone for TakeWhile<I, P>

1.0.0 · Source§

impl<I: Clone, St: Clone, F: Clone> Clone for Scan<I, St, F>

1.0.0 · Source§

impl<I: Clone, U, F: Clone> Clone for FlatMap<I, U, F>
where U: Clone + IntoIterator<IntoIter: Clone>,

Source§

impl<I: Clone, U: Clone> Clone for FlattenCompat<I, U>

1.0.0 · Source§

impl<Idx: Clone> Clone for core::ops::range::Range<Idx>

1.0.0 · Source§

impl<Idx: Clone> Clone for core::ops::range::RangeFrom<Idx>

1.26.0 · Source§

impl<Idx: Clone> Clone for core::ops::range::RangeInclusive<Idx>

Source§

impl<Idx: Clone> Clone for core::range::Range<Idx>

Source§

impl<Idx: Clone> Clone for core::range::RangeFrom<Idx>

Source§

impl<Idx: Clone> Clone for core::range::RangeInclusive<Idx>

1.0.0 · Source§

impl<Idx: Clone> Clone for RangeTo<Idx>

1.26.0 · Source§

impl<Idx: Clone> Clone for RangeToInclusive<Idx>

1.33.0 · Source§

impl<Ptr: Clone> Clone for Pin<Ptr>

Source§

impl<S: Sip> Clone for Hasher<S>

1.0.0 · Source§

impl<T> Clone for Option<T>
where T: Clone,

1.48.0 · Source§

impl<T> Clone for Pending<T>

1.2.0 · Source§

impl<T> Clone for Empty<T>

Source§

impl<T> Clone for PhantomContravariant<T>
where T: ?Sized,

Source§

impl<T> Clone for PhantomCovariant<T>
where T: ?Sized,

Source§

impl<T> Clone for PhantomInvariant<T>
where T: ?Sized,

1.21.0 · Source§

impl<T> Clone for Discriminant<T>

1.28.0 · Source§

impl<T> Clone for NonZero<T>

1.0.0 · Source§

impl<T> Clone for core::result::Iter<'_, T>

1.0.0 · Source§

impl<T> Clone for Chunks<'_, T>

1.31.0 · Source§

impl<T> Clone for ChunksExact<'_, T>

1.0.0 · Source§

impl<T> Clone for core::slice::iter::Iter<'_, T>

1.31.0 · Source§

impl<T> Clone for RChunks<'_, T>

1.0.0 · Source§

impl<T> Clone for Windows<'_, T>

1.0.0 · Source§

impl<T, E> Clone for Result<T, E>
where T: Clone, E: Clone,

1.27.0 · Source§

impl<T, P> Clone for core::slice::iter::RSplit<'_, T, P>
where P: Clone + FnMut(&T) -> bool,

1.0.0 · Source§

impl<T, P> Clone for core::slice::iter::Split<'_, T, P>
where P: Clone + FnMut(&T) -> bool,

1.51.0 · Source§

impl<T, P> Clone for core::slice::iter::SplitInclusive<'_, T, P>
where P: Clone + FnMut(&T) -> bool,

Source§

impl<T, const N: usize> Clone for core::core_simd::masks::mask_impl::Mask<T, N>

Source§

impl<T, const N: usize> Clone for core::core_simd::masks::Mask<T, N>

Source§

impl<T, const N: usize> Clone for Simd<T, N>

Source§

impl<T, const N: usize> Clone for core::slice::iter::ArrayChunks<'_, T, N>

1.0.0 · Source§

impl<T: Copy> Clone for Cell<T>

Source§

impl<T: Copy> Clone for Unaligned<T>

Available on target_family="wasm" only.
Source§

impl<T: Copy> Clone for UnsafePinned<T>

1.36.0 · Source§

impl<T: Copy> Clone for MaybeUninit<T>

1.20.0 · Source§

impl<T: Clone + ?Sized> Clone for ManuallyDrop<T>

1.17.0 · Source§

impl<T: Clone> Clone for Bound<T>

1.36.0 · Source§

impl<T: Clone> Clone for Poll<T>

1.70.0 · Source§

impl<T: Clone> Clone for OnceCell<T>

1.0.0 · Source§

impl<T: Clone> Clone for RefCell<T>

1.19.0 · Source§

impl<T: Clone> Clone for Reverse<T>

1.48.0 · Source§

impl<T: Clone> Clone for Ready<T>

1.0.0 · Source§

impl<T: Clone> Clone for Rev<T>

1.2.0 · Source§

impl<T: Clone> Clone for Once<T>

1.74.0 · Source§

impl<T: Clone> Clone for Saturating<T>

1.0.0 · Source§

impl<T: Clone> Clone for Wrapping<T>

1.0.0 · Source§

impl<T: Clone> Clone for core::result::IntoIter<T>

1.34.0 · Source§

impl<T: Clone, F: Clone> Clone for Successors<T, F>

1.58.0 · Source§

impl<T: Clone, const N: usize> Clone for [T; N]

Source§

impl<T: Clone, const N: usize> Clone for PolymorphicIter<[MaybeUninit<T>; N]>

1.51.0 · Source§

impl<T: Clone, const N: usize> Clone for core::array::iter::IntoIter<T, N>

Source§

impl<T: Clone, const N: usize> Clone for Buffer<T, N>

1.0.0 · Source§

impl<T: ?Sized> !Clone for &mut T

Shared references can be cloned, but mutable references cannot!

1.0.0 · Source§

impl<T: ?Sized> Clone for *const T

1.0.0 · Source§

impl<T: ?Sized> Clone for *mut T

1.0.0 · Source§

impl<T: ?Sized> Clone for &T

Shared references can be cloned, but mutable references cannot!

1.0.0 · Source§

impl<T: ?Sized> Clone for PhantomData<T>

1.25.0 · Source§

impl<T: ?Sized> Clone for NonNull<T>

Source§

impl<T: ?Sized> Clone for Unique<T>

Source§

impl<Y: Clone, R: Clone> Clone for CoroutineState<Y, R>

Source§

impl<const N: usize> Clone for EscapeIterInner<N>

impl Clone for Global

impl Clone for Box<str>

impl Clone for Box<ByteStr>

impl Clone for Box<CStr>

impl Clone for ByteString

impl Clone for SetValZST

impl Clone for CString

impl Clone for NulError

impl Clone for IntoChars

impl Clone for String

impl<'a, K: 'a, V: 'a> Clone for LazyLeafHandle<Immut<'a>, K, V>

impl<'a, K: 'a, V: 'a> Clone for LazyLeafRange<Immut<'a>, K, V>

impl<'a, K: 'a, V: 'a> Clone for LeafRange<Immut<'a>, K, V>

impl<'a, K: 'a, V: 'a, Type> Clone for NodeRef<Immut<'a>, K, V, Type>

impl<'a, K: Clone + 'a> Clone for Cursor<'a, K>

impl<B: ?Sized + ToOwned> Clone for Cow<'_, B>

impl<I> Clone for MergeIterInner<I>
where I: Clone + Iterator, I::Item: Clone,

impl<I: Clone + Iterator> Clone for Peeked<I>
where I::Item: Clone,

impl<K, V> Clone for Cursor<'_, K, V>

impl<K, V> Clone for Iter<'_, K, V>

impl<K, V> Clone for Keys<'_, K, V>

impl<K, V> Clone for Range<'_, K, V>

impl<K, V> Clone for Values<'_, K, V>

impl<K: Clone, V: Clone, A: Allocator + Clone> Clone for BTreeMap<K, V, A>

impl<Node: Copy, Type> Clone for Handle<Node, Type>

impl<T> Clone for Iter<'_, T>

impl<T> Clone for Iter<'_, T>

impl<T> Clone for Range<'_, T>

impl<T> Clone for SymmetricDifference<'_, T>

impl<T> Clone for Union<'_, T>

impl<T> Clone for Iter<'_, T>

impl<T> Clone for Iter<'_, T>

impl<T, A: Allocator + Clone> Clone for Difference<'_, T, A>

impl<T, A: Allocator + Clone> Clone for Intersection<'_, T, A>

impl<T, A: Allocator> Clone for Cursor<'_, T, A>

impl<T: Clone, A: Allocator + Clone> Clone for Box<[T], A>

impl<T: Clone, A: Allocator + Clone> Clone for Box<T, A>

impl<T: Clone, A: Allocator + Clone> Clone for BinaryHeap<T, A>

impl<T: Clone, A: Allocator + Clone> Clone for BTreeSet<T, A>

impl<T: Clone, A: Allocator + Clone> Clone for LinkedList<T, A>

impl<T: Clone, A: Allocator + Clone> Clone for VecDeque<T, A>

impl<T: Clone, A: Allocator + Clone> Clone for IntoIter<T, A>

impl<T: Clone, A: Allocator + Clone> Clone for Vec<T, A>

impl<T: Clone, A: Clone + Allocator> Clone for IntoIter<T, A>

impl<T: Clone, A: Clone + Allocator> Clone for IntoIterSorted<T, A>

impl<T: Clone, A: Clone + Allocator> Clone for IntoIter<T, A>

impl<T: Clone, A: Clone + Allocator> Clone for IntoIter<T, A>

impl<T: ?Sized, A: Allocator + Clone> Clone for Rc<T, A>

impl<T: ?Sized, A: Allocator + Clone> Clone for Weak<T, A>

impl<T: ?Sized, A: Allocator + Clone> Clone for Arc<T, A>

impl<T: ?Sized, A: Allocator + Clone> Clone for Weak<T, A>

impl Clone for Fail

impl Clone for HasArg

impl Clone for Name

impl Clone for Occur

impl Clone for Optval

impl Clone for Matches

impl Clone for Opt

impl Clone for OptGroup

impl Clone for BitMask

impl Clone for Group

impl Clone for Tag

impl Clone for ProbeSeq

impl<'a, T> Clone for Iter<'a, T>

impl<'a, T> Clone for IterHash<'a, T>

impl<K> Clone for Iter<'_, K>

impl<K, V> Clone for Iter<'_, K, V>

impl<K, V> Clone for Keys<'_, K, V>

impl<K, V> Clone for Values<'_, K, V>

impl<K: Clone, V: Clone, S: Clone, A: Allocator + Clone> Clone for HashMap<K, V, S, A>

impl<T> Clone for Bucket<T>

impl<T> Clone for RawIter<T>

impl<T> Clone for RawIterHash<T>

impl<T> Clone for RawIterRange<T>

impl<T, A> Clone for HashTable<T, A>
where T: Clone, A: Allocator + Clone,

impl<T, S, A: Allocator> Clone for Difference<'_, T, S, A>

impl<T, S, A: Allocator> Clone for Intersection<'_, T, S, A>

impl<T, S, A: Allocator> Clone for SymmetricDifference<'_, T, S, A>

impl<T, S, A: Allocator> Clone for Union<'_, T, S, A>

impl<T: Clone, A: Allocator + Clone> Clone for RawTable<T, A>

impl<T: Clone, S: Clone, A: Allocator + Clone> Clone for HashSet<T, S, A>

impl Clone for termios2

impl Clone for msqid_ds

impl Clone for semid_ds

impl Clone for sigset_t

impl Clone for sysinfo

impl Clone for statvfs

impl Clone for clone_args

impl Clone for flock

impl Clone for flock64

impl Clone for ipc_perm

impl Clone for mcontext_t

impl Clone for shmid_ds

impl Clone for sigaction

impl Clone for siginfo_t

impl Clone for stack_t

impl Clone for stat

impl Clone for stat64

impl Clone for statfs

impl Clone for statfs64

impl Clone for statvfs64

impl Clone for ucontext_t

impl Clone for user

impl Clone for Elf32_Chdr

impl Clone for Elf64_Chdr

impl Clone for __timeval

impl Clone for aiocb

impl Clone for cmsghdr

impl Clone for fpos64_t

impl Clone for fpos_t

impl Clone for glob64_t

impl Clone for iocb

impl Clone for mallinfo

impl Clone for mallinfo2

impl Clone for mbstate_t

impl Clone for msghdr

impl Clone for nl_pktinfo

impl Clone for ntptimeval

impl Clone for regex_t

impl Clone for rtentry

impl Clone for sem_t

impl Clone for seminfo

impl Clone for tcp_info

impl Clone for termios

impl Clone for timex

impl Clone for utmpx

impl Clone for Elf32_Ehdr

impl Clone for Elf32_Phdr

impl Clone for Elf32_Shdr

impl Clone for Elf32_Sym

impl Clone for Elf64_Ehdr

impl Clone for Elf64_Phdr

impl Clone for Elf64_Shdr

impl Clone for Elf64_Sym

impl Clone for af_alg_iv

impl Clone for can_filter

impl Clone for can_frame

impl Clone for cpu_set_t

impl Clone for dirent

impl Clone for dirent64

impl Clone for dqblk

impl Clone for ff_effect

impl Clone for ff_replay

impl Clone for ff_trigger

impl Clone for fsid_t

impl Clone for genlmsghdr

impl Clone for glob_t

impl Clone for ifconf

impl Clone for ifreq

impl Clone for in6_ifreq

impl Clone for input_id

impl Clone for input_mask

impl Clone for itimerspec

impl Clone for iw_event

impl Clone for iw_freq

impl Clone for iw_missed

impl Clone for iw_mlme

impl Clone for iw_param

impl Clone for iw_pmksa

impl Clone for iw_point

impl Clone for iw_quality

impl Clone for iw_range

impl Clone for iw_thrspy

impl Clone for iwreq

impl Clone for mntent

impl Clone for mount_attr

impl Clone for mq_attr

impl Clone for msginfo

impl Clone for nlattr

impl Clone for nlmsgerr

impl Clone for nlmsghdr

impl Clone for open_how

impl Clone for option

impl Clone for passwd

impl Clone for regmatch_t

impl Clone for rlimit64

impl Clone for sched_attr

impl Clone for sembuf

impl Clone for sock_fprog

impl Clone for spwd

impl Clone for ucred

impl Clone for xdp_desc

impl Clone for Dl_info

impl Clone for addrinfo

impl Clone for arphdr

impl Clone for arpreq

impl Clone for arpreq_old

impl Clone for fd_set

impl Clone for ifaddrs

impl Clone for in6_rtmsg

impl Clone for in_addr

impl Clone for in_pktinfo

impl Clone for ip_mreq

impl Clone for ip_mreqn

impl Clone for lconv

impl Clone for mmsghdr

impl Clone for sigevent

impl Clone for sockaddr

impl Clone for statx

impl Clone for tm

impl Clone for utsname

impl Clone for group

impl Clone for hostent

impl Clone for in6_addr

impl Clone for iovec

impl Clone for ipv6_mreq

impl Clone for itimerval

impl Clone for linger

impl Clone for pollfd

impl Clone for protoent

impl Clone for rlimit

impl Clone for rusage

impl Clone for servent

impl Clone for sigval

impl Clone for timespec

impl Clone for timeval

impl Clone for tms

impl Clone for utimbuf

impl Clone for winsize

impl Clone for iwreq_data

impl Clone for ProcMacro

impl Clone for LitKind

impl Clone for Level

impl Clone for Delimiter

impl Clone for Spacing

impl Clone for TokenTree

impl Clone for Span

impl Clone for Symbol

impl Clone for Diagnostic

impl Clone for Group

impl Clone for Ident

impl Clone for Literal

impl Clone for Punct

impl Clone for Span

impl Clone for IntoIter

impl<'a> Clone for Children<'a>

impl<I, O> Clone for Client<I, O>

impl<Span: Clone> Clone for DelimSpan<Span>

impl<Span: Clone> Clone for Diagnostic<Span>

impl<Span: Clone> Clone for ExpnGlobals<Span>

impl<Span: Clone> Clone for Punct<Span>

impl<Span: Clone, Symbol: Clone> Clone for Ident<Span, Symbol>

impl<Span: Clone, Symbol: Clone> Clone for Literal<Span, Symbol>

impl<T: Clone, M: Clone> Clone for Marked<T, M>

impl<TokenStream: Clone, Span: Clone> Clone for Group<TokenStream, Span>

impl<TokenStream: Clone, Span: Clone, Symbol: Clone> Clone for TokenTree<TokenStream, Span, Symbol>

impl Clone for Mode

impl Clone for Frame

impl Clone for PrintFmt

impl Clone for VarError

impl Clone for SeekFrom

impl Clone for ErrorKind

impl Clone for Shutdown

impl Clone for State

impl Clone for Selected

impl Clone for State

impl Clone for System

impl Clone for Frame

impl Clone for Box<OsStr>

impl Clone for Box<Path>

impl Clone for OsString

impl Clone for FileTimes

impl Clone for FileType

impl Clone for Metadata

impl Clone for Empty

impl Clone for Sink

impl Clone for stat

impl Clone for stat

impl Clone for SocketAddr

impl Clone for SocketCred

impl Clone for UCred

impl Clone for PathBuf

impl Clone for ExitCode

impl Clone for ExitStatus

impl Clone for Output

impl Clone for Context

impl Clone for Operation

impl Clone for RecvError

impl Clone for Guard

impl Clone for FileAttr

impl Clone for FileTimes

impl Clone for FileType

impl Clone for Mode

impl Clone for Buf

impl Clone for Instant

impl Clone for SystemTime

impl Clone for Timespec

impl Clone for CommandEnv

impl Clone for ExitCode

impl Clone for ExitStatus

impl Clone for CodePoint

impl Clone for Wtf8Buf

impl Clone for SpawnHooks

impl Clone for Thread

impl Clone for ThreadId

impl Clone for Instant

impl Clone for SystemTime

impl<'a> Clone for Component<'a>

impl<'a> Clone for Prefix<'a>

impl<'a> Clone for IoSlice<'a>

impl<'a> Clone for Ancestors<'a>

impl<'a> Clone for Components<'a>

impl<'a> Clone for Iter<'a>

impl<'a> Clone for PrefixComponent<'a>

impl<'a> Clone for IoSlice<'a>

impl<'a> Clone for EHContext<'a>

impl<'a> Clone for EncodeWide<'a>

impl<'a> Clone for Wtf8CodePoints<'a>

impl<'fd> Clone for BorrowedFd<'fd>

impl<'handle> Clone for BorrowedHandle<'handle>

impl<'socket> Clone for BorrowedSocket<'socket>

impl<K> Clone for Iter<'_, K>

impl<K, V> Clone for Iter<'_, K, V>

impl<K, V> Clone for Keys<'_, K, V>

impl<K, V> Clone for Values<'_, K, V>

impl<K, V, S> Clone for HashMap<K, V, S>
where K: Clone, V: Clone, S: Clone,

impl<T> Clone for Cursor<T>
where T: Clone,

impl<T> Clone for Receiver<T>

impl<T> Clone for Sender<T>

impl<T> Clone for Sender<T>

impl<T> Clone for SyncSender<T>

impl<T, S> Clone for Difference<'_, T, S>

impl<T, S> Clone for Intersection<'_, T, S>

impl<T, S> Clone for SymmetricDifference<'_, T, S>

impl<T, S> Clone for Union<'_, T, S>

impl<T, S> Clone for HashSet<T, S>
where T: Clone, S: Clone,

impl<T: Clone> Clone for SendTimeoutError<T>

impl<T: Clone> Clone for TrySendError<T>

impl<T: Clone> Clone for CachePadded<T>

impl<T: Clone> Clone for SendError<T>

impl<T: Clone> Clone for OnceLock<T>

impl Clone for Feature

impl Clone for TestEvent

impl Clone for BenchMode

impl Clone for RunIgnored

impl Clone for FormatOp

impl Clone for Param

impl Clone for States

impl Clone for TestResult

impl Clone for TestName

impl Clone for TestType

impl Clone for Bencher

impl Clone for Metric

impl Clone for MetricMap

impl Clone for Options

impl Clone for Summary

impl Clone for Flags

impl Clone for TestDesc

impl Clone for TestId

impl Clone for WidthInfo