Trait gstd::prelude::Clone

1.0.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§

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§

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.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Clone for gstd::errors::Error

§

impl Clone for ErrorReplyReason

§

impl Clone for ExecutionError

§

impl Clone for ExtError

§

impl Clone for MemoryError

§

impl Clone for MessageError

§

impl Clone for ReplyCode

§

impl Clone for ReservationError

§

impl Clone for SignalCode

§

impl Clone for SimpleExecutionError

§

impl Clone for SimpleProgramCreationError

§

impl Clone for SuccessReplyReason

source§

impl Clone for UsageError

source§

impl Clone for AsciiChar

source§

impl Clone for gstd::prelude::cmp::Ordering

source§

impl Clone for TryReserveErrorKind

§

impl Clone for gstd::prelude::collections::hashbrown::TryReserveError

1.34.0 · source§

impl Clone for Infallible

1.28.0 · source§

impl Clone for gstd::prelude::fmt::Alignment

1.7.0 · source§

impl Clone for IpAddr

source§

impl Clone for Ipv6MulticastScope

source§

impl Clone for core::net::socket_addr::SocketAddr

source§

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

source§

impl Clone for VarError

source§

impl Clone for SeekFrom

source§

impl Clone for ErrorKind

source§

impl Clone for Shutdown

source§

impl Clone for BacktraceStyle

1.12.0 · source§

impl Clone for RecvTimeoutError

source§

impl Clone for TryRecvError

source§

impl Clone for _Unwind_Action

source§

impl Clone for _Unwind_Reason_Code

source§

impl Clone for hex::error::FromHexError

source§

impl Clone for BernoulliError

source§

impl Clone for WeightedError

source§

impl Clone for IndexVec

source§

impl Clone for IndexVecIntoIter

source§

impl Clone for FpCategory

1.55.0 · source§

impl Clone for IntErrorKind

source§

impl Clone for SearchStep

source§

impl Clone for bool

source§

impl Clone for char

source§

impl Clone for f32

source§

impl Clone for f64

source§

impl Clone for i8

source§

impl Clone for i16

source§

impl Clone for i32

source§

impl Clone for i64

source§

impl Clone for i128

source§

impl Clone for isize

source§

impl Clone for !

source§

impl Clone for u8

source§

impl Clone for u16

source§

impl Clone for u32

source§

impl Clone for u64

source§

impl Clone for u128

source§

impl Clone for usize

source§

impl Clone for ErrorReplyPayload

§

impl Clone for SyscallError

source§

impl Clone for gstd::msg::MessageHandle

source§

impl Clone for gstd::ActorId

source§

impl Clone for gstd::CodeId

§

impl Clone for EnvVars

§

impl Clone for GasMultiplier

source§

impl Clone for gstd::MessageId

§

impl Clone for Percent

source§

impl Clone for Reservation

source§

impl Clone for gstd::ReservationId

source§

impl Clone for Reservations

§

impl Clone for MetaType

source§

impl Clone for TypeId

1.34.0 · source§

impl Clone for TryFromSliceError

source§

impl Clone for gstd::prelude::ascii::EscapeDefault

1.34.0 · source§

impl Clone for CharTryFromError

1.9.0 · source§

impl Clone for DecodeUtf16Error

1.20.0 · source§

impl Clone for gstd::prelude::char::EscapeDebug

source§

impl Clone for gstd::prelude::char::EscapeDefault

source§

impl Clone for gstd::prelude::char::EscapeUnicode

1.20.0 · source§

impl Clone for ParseCharError

source§

impl Clone for ToLowercase

source§

impl Clone for ToUppercase

1.59.0 · source§

impl Clone for TryFromCharError

1.57.0 · source§

impl Clone for gstd::prelude::collections::TryReserveError

1.64.0 · source§

impl Clone for CString

1.69.0 · source§

impl Clone for FromBytesUntilNulError

1.64.0 · source§

impl Clone for FromBytesWithNulError

1.64.0 · source§

impl Clone for FromVecWithNulError

1.64.0 · source§

impl Clone for IntoStringError

1.64.0 · source§

impl Clone for NulError

source§

impl Clone for gstd::prelude::fmt::Error

source§

impl Clone for SipHasher

source§

impl Clone for alloc::alloc::Global

1.28.0 · source§

impl Clone for Layout

1.50.0 · source§

impl Clone for LayoutError

source§

impl Clone for core::alloc::AllocError

1.27.0 · source§

impl Clone for CpuidResult

1.27.0 · source§

impl Clone for __m128

source§

impl Clone for __m128bh

1.27.0 · source§

impl Clone for __m128d

1.27.0 · source§

impl Clone for __m128i

1.27.0 · source§

impl Clone for __m256

source§

impl Clone for __m256bh

1.27.0 · source§

impl Clone for __m256d

1.27.0 · source§

impl Clone for __m256i

1.77.0 · source§

impl Clone for __m512

source§

impl Clone for __m512bh

1.77.0 · source§

impl Clone for __m512d

1.77.0 · source§

impl Clone for __m512i

source§

impl Clone for Ipv4Addr

source§

impl Clone for Ipv6Addr

source§

impl Clone for AddrParseError

source§

impl Clone for SocketAddrV4

source§

impl Clone for SocketAddrV6

1.28.0 · source§

impl Clone for System

source§

impl Clone for OsString

1.75.0 · source§

impl Clone for FileTimes

1.1.0 · source§

impl Clone for FileType

source§

impl Clone for Metadata

source§

impl Clone for OpenOptions

source§

impl Clone for Permissions

1.7.0 · source§

impl Clone for DefaultHasher

1.7.0 · source§

impl Clone for std::hash::random::RandomState

source§

impl Clone for std::io::util::Empty

source§

impl Clone for Sink

1.1.0 · source§

impl Clone for std::os::linux::raw::arch::stat

1.10.0 · source§

impl Clone for std::os::unix::net::addr::SocketAddr

source§

impl Clone for SocketCred

source§

impl Clone for UCred

source§

impl Clone for PathBuf

1.7.0 · source§

impl Clone for StripPrefixError

1.61.0 · source§

impl Clone for ExitCode

source§

impl Clone for ExitStatus

source§

impl Clone for ExitStatusError

source§

impl Clone for Output

1.5.0 · source§

impl Clone for WaitTimeoutResult

source§

impl Clone for RecvError

1.26.0 · source§

impl Clone for AccessError

source§

impl Clone for Thread

1.19.0 · source§

impl Clone for ThreadId

1.8.0 · source§

impl Clone for Instant

1.8.0 · source§

impl Clone for SystemTime

1.8.0 · source§

impl Clone for SystemTimeError

source§

impl Clone for getrandom::error::Error

source§

impl Clone for IgnoredAny

source§

impl Clone for serde::de::value::Error

source§

impl Clone for Bernoulli

source§

impl Clone for Open01

source§

impl Clone for OpenClosed01

source§

impl Clone for Alphanumeric

source§

impl Clone for Standard

source§

impl Clone for UniformChar

source§

impl Clone for UniformDuration

source§

impl Clone for StepRng

source§

impl Clone for SmallRng

source§

impl Clone for StdRng

source§

impl Clone for ThreadRng

source§

impl Clone for ChaCha8Core

source§

impl Clone for ChaCha8Rng

source§

impl Clone for ChaCha12Core

source§

impl Clone for ChaCha12Rng

source§

impl Clone for ChaCha20Core

source§

impl Clone for ChaCha20Rng

source§

impl Clone for OsRng

1.33.0 · source§

impl Clone for PhantomPinned

source§

impl Clone for Assume

1.34.0 · source§

impl Clone for NonZeroI8

1.34.0 · source§

impl Clone for NonZeroI16

1.34.0 · source§

impl Clone for NonZeroI32

1.34.0 · source§

impl Clone for NonZeroI64

1.34.0 · source§

impl Clone for NonZeroI128

1.34.0 · source§

impl Clone for NonZeroIsize

1.28.0 · source§

impl Clone for NonZeroU8

1.28.0 · source§

impl Clone for NonZeroU16

1.28.0 · source§

impl Clone for NonZeroU32

1.28.0 · source§

impl Clone for NonZeroU64

1.28.0 · source§

impl Clone for NonZeroU128

1.28.0 · source§

impl Clone for NonZeroUsize

source§

impl Clone for ParseFloatError

source§

impl Clone for ParseIntError

1.34.0 · source§

impl Clone for TryFromIntError

source§

impl Clone for RangeFull

source§

impl Clone for gstd::prelude::ptr::Alignment

source§

impl Clone for TimSortRun

source§

impl Clone for ParseBoolError

source§

impl Clone for Utf8Error

source§

impl Clone for FromUtf8Error

1.3.0 · source§

impl Clone for gstd::prelude::Box<str>

1.29.0 · source§

impl Clone for gstd::prelude::Box<CStr>

1.29.0 · source§

impl Clone for gstd::prelude::Box<OsStr>

1.29.0 · source§

impl Clone for gstd::prelude::Box<Path>

source§

impl Clone for String

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

§

impl Clone for AHasher

§

impl Clone for AbortHandle

§

impl Clone for Aborted

§

impl Clone for ActorId

§

impl Clone for AllocError

§

impl Clone for Alphabet

§

impl Clone for BigEndian

§

impl Clone for Box<str>

§

impl Clone for Box<CStr>

§

impl Clone for Bytes

§

impl Clone for BytesMut

§

impl Clone for Canceled

§

impl Clone for CodeId

§

impl Clone for Const

§

impl Clone for Dl_info

§

impl Clone for Elf32_Chdr

§

impl Clone for Elf32_Ehdr

§

impl Clone for Elf32_Phdr

§

impl Clone for Elf32_Shdr

§

impl Clone for Elf32_Sym

§

impl Clone for Elf64_Chdr

§

impl Clone for Elf64_Ehdr

§

impl Clone for Elf64_Phdr

§

impl Clone for Elf64_Shdr

§

impl Clone for Elf64_Sym

§

impl Clone for Error

§

impl Clone for Error

§

impl Clone for Error

§

impl Clone for Error

§

impl Clone for Error

§

impl Clone for Error

§

impl Clone for FinderBuilder

§

impl Clone for FromHexError

§

impl Clone for FromStrRadixErrKind

§

impl Clone for Global

§

impl Clone for H128

§

impl Clone for H160

§

impl Clone for H256

§

impl Clone for H384

§

impl Clone for H512

§

impl Clone for H768

§

impl Clone for HashWithValue

§

impl Clone for LittleEndian

§

impl Clone for LocalSpawner

§

impl Clone for Lsb0

§

impl Clone for MessageHandle

§

impl Clone for MessageId

§

impl Clone for MetaForm

§

impl Clone for Msb0

§

impl Clone for Mut

§

impl Clone for NoA1

§

impl Clone for NoA2

§

impl Clone for NoNI

§

impl Clone for NoS3

§

impl Clone for NoS4

§

impl Clone for NullPtrError

§

impl Clone for OptionBool

§

impl Clone for PollNext

§

impl Clone for PortableForm

§

impl Clone for PortableRegistry

§

impl Clone for PortableType

§

impl Clone for Prefilter

§

impl Clone for RandomState

§

impl Clone for ReservationId

§

impl Clone for SendError

§

impl Clone for ThreadPool

§

impl Clone for TypeDefPrimitive

§

impl Clone for U128

§

impl Clone for U256

§

impl Clone for U512

§

impl Clone for YesA1

§

impl Clone for YesA2

§

impl Clone for YesNI

§

impl Clone for YesS3

§

impl Clone for YesS4

§

impl Clone for __c_anonymous_ifc_ifcu

§

impl Clone for __c_anonymous_ifr_ifru

§

impl Clone for __c_anonymous_ifru_map

§

impl Clone for __c_anonymous_ptrace_syscall_info_data

§

impl Clone for __c_anonymous_ptrace_syscall_info_entry

§

impl Clone for __c_anonymous_ptrace_syscall_info_exit

§

impl Clone for __c_anonymous_ptrace_syscall_info_seccomp

§

impl Clone for __c_anonymous_sockaddr_can_can_addr

§

impl Clone for __c_anonymous_sockaddr_can_j1939

§

impl Clone for __c_anonymous_sockaddr_can_tp

§

impl Clone for __exit_status

§

impl Clone for __timeval

§

impl Clone for _libc_fpstate

§

impl Clone for _libc_fpxreg

§

impl Clone for _libc_xmmreg

§

impl Clone for addrinfo

§

impl Clone for af_alg_iv

§

impl Clone for aiocb

§

impl Clone for arpd_request

§

impl Clone for arphdr

§

impl Clone for arpreq

§

impl Clone for arpreq_old

§

impl Clone for can_filter

§

impl Clone for can_frame

§

impl Clone for canfd_frame

§

impl Clone for canxl_frame

§

impl Clone for clone_args

§

impl Clone for cmsghdr

§

impl Clone for cpu_set_t

§

impl Clone for dirent

§

impl Clone for dirent64

§

impl Clone for dl_phdr_info

§

impl Clone for dqblk

§

impl Clone for epoll_event

§

impl Clone for fanotify_event_metadata

§

impl Clone for fanotify_response

§

impl Clone for fd_set

§

impl Clone for ff_condition_effect

§

impl Clone for ff_constant_effect

§

impl Clone for ff_effect

§

impl Clone for ff_envelope

§

impl Clone for ff_periodic_effect

§

impl Clone for ff_ramp_effect

§

impl Clone for ff_replay

§

impl Clone for ff_rumble_effect

§

impl Clone for ff_trigger

§

impl Clone for file_clone_range

§

impl Clone for flock

§

impl Clone for flock64

§

impl Clone for fsid_t

§

impl Clone for genlmsghdr

§

impl Clone for glob64_t

§

impl Clone for glob_t

§

impl Clone for group

§

impl Clone for hostent

§

impl Clone for hwtstamp_config

§

impl Clone for if_nameindex

§

impl Clone for ifaddrs

§

impl Clone for ifconf

§

impl Clone for ifreq

§

impl Clone for in6_addr

§

impl Clone for in6_ifreq

§

impl Clone for in6_pktinfo

§

impl Clone for in6_rtmsg

§

impl Clone for in_addr

§

impl Clone for in_pktinfo

§

impl Clone for inotify_event

§

impl Clone for input_absinfo

§

impl Clone for input_event

§

impl Clone for input_id

§

impl Clone for input_keymap_entry

§

impl Clone for input_mask

§

impl Clone for iocb

§

impl Clone for iovec

§

impl Clone for ip_mreq

§

impl Clone for ip_mreq_source

§

impl Clone for ip_mreqn

§

impl Clone for ipc_perm

§

impl Clone for ipv6_mreq

§

impl Clone for itimerspec

§

impl Clone for itimerval

§

impl Clone for j1939_filter

§

impl Clone for lconv

§

impl Clone for linger

§

impl Clone for mallinfo

§

impl Clone for mallinfo2

§

impl Clone for max_align_t

§

impl Clone for mcontext_t

§

impl Clone for mmsghdr

§

impl Clone for mntent

§

impl Clone for mq_attr

§

impl Clone for msghdr

§

impl Clone for msginfo

§

impl Clone for msqid_ds

§

impl Clone for nl_mmap_hdr

§

impl Clone for nl_mmap_req

§

impl Clone for nl_pktinfo

§

impl Clone for nlattr

§

impl Clone for nlmsgerr

§

impl Clone for nlmsghdr

§

impl Clone for ntptimeval

§

impl Clone for open_how

§

impl Clone for option

§

impl Clone for packet_mreq

§

impl Clone for passwd

§

impl Clone for pollfd

§

impl Clone for posix_spawn_file_actions_t

§

impl Clone for posix_spawnattr_t

§

impl Clone for protoent

§

impl Clone for pthread_attr_t

§

impl Clone for pthread_barrier_t

§

impl Clone for pthread_barrierattr_t

§

impl Clone for pthread_cond_t

§

impl Clone for pthread_condattr_t

§

impl Clone for pthread_mutex_t

§

impl Clone for pthread_mutexattr_t

§

impl Clone for pthread_rwlock_t

§

impl Clone for pthread_rwlockattr_t

§

impl Clone for ptrace_peeksiginfo_args

§

impl Clone for ptrace_rseq_configuration

§

impl Clone for ptrace_syscall_info

§

impl Clone for regex_t

§

impl Clone for regmatch_t

§

impl Clone for rlimit

§

impl Clone for rlimit64

§

impl Clone for rtentry

§

impl Clone for rusage

§

impl Clone for sched_attr

§

impl Clone for sched_param

§

impl Clone for sctp_authinfo

§

impl Clone for sctp_initmsg

§

impl Clone for sctp_nxtinfo

§

impl Clone for sctp_prinfo

§

impl Clone for sctp_rcvinfo

§

impl Clone for sctp_sndinfo

§

impl Clone for sctp_sndrcvinfo

§

impl Clone for seccomp_data

§

impl Clone for seccomp_notif

§

impl Clone for seccomp_notif_addfd

§

impl Clone for seccomp_notif_resp

§

impl Clone for seccomp_notif_sizes

§

impl Clone for sem_t

§

impl Clone for sembuf

§

impl Clone for semid_ds

§

impl Clone for seminfo

§

impl Clone for servent

§

impl Clone for shmid_ds

§

impl Clone for sigaction

§

impl Clone for sigevent

§

impl Clone for siginfo_t

§

impl Clone for signalfd_siginfo

§

impl Clone for sigset_t

§

impl Clone for sigval

§

impl Clone for sock_extended_err

§

impl Clone for sock_filter

§

impl Clone for sock_fprog

§

impl Clone for sock_txtime

§

impl Clone for sockaddr

§

impl Clone for sockaddr_alg

§

impl Clone for sockaddr_can

§

impl Clone for sockaddr_in

§

impl Clone for sockaddr_in6

§

impl Clone for sockaddr_ll

§

impl Clone for sockaddr_nl

§

impl Clone for sockaddr_storage

§

impl Clone for sockaddr_un

§

impl Clone for sockaddr_vm

§

impl Clone for sockaddr_xdp

§

impl Clone for spwd

§

impl Clone for stack_t

§

impl Clone for stat

§

impl Clone for stat64

§

impl Clone for statfs

§

impl Clone for statfs64

§

impl Clone for statvfs

§

impl Clone for statvfs64

§

impl Clone for statx

§

impl Clone for statx_timestamp

§

impl Clone for sysinfo

§

impl Clone for termios

§

impl Clone for termios2

§

impl Clone for timespec

§

impl Clone for timeval

§

impl Clone for timex

§

impl Clone for tls12_crypto_info_aes_gcm_128

§

impl Clone for tls12_crypto_info_aes_gcm_256

§

impl Clone for tls12_crypto_info_chacha20_poly1305

§

impl Clone for tls_crypto_info

§

impl Clone for tm

§

impl Clone for tms

§

impl Clone for ucontext_t

§

impl Clone for ucred

§

impl Clone for uinput_abs_setup

§

impl Clone for uinput_ff_erase

§

impl Clone for uinput_ff_upload

§

impl Clone for uinput_setup

§

impl Clone for uinput_user_dev

§

impl Clone for user

§

impl Clone for user_fpregs_struct

§

impl Clone for user_regs_struct

§

impl Clone for utimbuf

§

impl Clone for utmpx

§

impl Clone for utsname

§

impl Clone for vec128_storage

§

impl Clone for vec256_storage

§

impl Clone for vec512_storage

§

impl Clone for winsize

§

impl Clone for xdp_desc

§

impl Clone for xdp_mmap_offsets

§

impl Clone for xdp_mmap_offsets_v1

§

impl Clone for xdp_options

§

impl Clone for xdp_ring_offset

§

impl Clone for xdp_ring_offset_v1

§

impl Clone for xdp_statistics

§

impl Clone for xdp_statistics_v1

§

impl Clone for xdp_umem_reg

§

impl Clone for xdp_umem_reg_v1

source§

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

source§

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

source§

impl<'a> Clone for Unexpected<'a>

source§

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

source§

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

1.36.0 · source§

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

1.28.0 · source§

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

source§

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

source§

impl<'a> Clone for std::path::Iter<'a>

source§

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

1.10.0 · source§

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

1.60.0 · source§

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

source§

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

source§

impl<'a> Clone for gstd::prelude::str::Bytes<'a>

source§

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

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 gstd::prelude::str::EscapeDebug<'a>

1.34.0 · source§

impl<'a> Clone for gstd::prelude::str::EscapeDefault<'a>

1.34.0 · source§

impl<'a> Clone for gstd::prelude::str::EscapeUnicode<'a>

source§

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

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>

source§

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

source§

impl<'a> Clone for Utf8Chunks<'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, E> Clone for BytesDeserializer<'a, E>

source§

impl<'a, E> Clone for CowStrDeserializer<'a, E>

source§

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

1.5.0 · source§

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

1.2.0 · source§

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

1.5.0 · source§

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

1.2.0 · source§

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

source§

impl<'a, P> Clone for gstd::prelude::str::RSplit<'a, P>
where P: Pattern<'a>, <P as Pattern<'a>>::Searcher: Clone,

source§

impl<'a, P> Clone for gstd::prelude::str::RSplitN<'a, P>
where P: Pattern<'a>, <P as Pattern<'a>>::Searcher: Clone,

source§

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

source§

impl<'a, P> Clone for gstd::prelude::str::Split<'a, P>
where P: Pattern<'a>, <P as Pattern<'a>>::Searcher: Clone,

1.51.0 · source§

impl<'a, P> Clone for gstd::prelude::str::SplitInclusive<'a, P>
where P: Pattern<'a>, <P as Pattern<'a>>::Searcher: Clone,

source§

impl<'a, P> Clone for gstd::prelude::str::SplitN<'a, P>
where P: Pattern<'a>, <P as Pattern<'a>>::Searcher: Clone,

source§

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

source§

impl<'a, T> Clone for Slice<'a, T>
where T: Clone,

1.31.0 · source§

impl<'a, T> Clone for gstd::prelude::slice::RChunksExact<'a, T>

§

impl<'a, T> Clone for CompactRef<'a, T>
where T: Clone,

§

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

§

impl<'a, T> Clone for Ptr<'a, T>
where T: ?Sized,

§

impl<'a, T> Clone for Symbol<'a, T>
where T: Clone + 'a,

§

impl<'a, T, O> Clone for Chunks<'a, T, O>
where T: Clone + 'a + BitStore, O: Clone + BitOrder,

§

impl<'a, T, O> Clone for ChunksExact<'a, T, O>
where T: Clone + 'a + BitStore, O: Clone + BitOrder,

§

impl<'a, T, O> Clone for IterOnes<'a, T, O>
where T: Clone + 'a + BitStore, O: Clone + BitOrder,

§

impl<'a, T, O> Clone for IterZeros<'a, T, O>
where T: Clone + 'a + BitStore, O: Clone + BitOrder,

§

impl<'a, T, O> Clone for PartialElement<'a, Const, T, O>
where T: BitStore, O: BitOrder, Address<Const, T>: Referential<'a>,

§

impl<'a, T, O> Clone for RChunks<'a, T, O>
where T: Clone + 'a + BitStore, O: Clone + BitOrder,

§

impl<'a, T, O> Clone for RChunksExact<'a, T, O>
where T: Clone + 'a + BitStore, O: Clone + BitOrder,

§

impl<'a, T, O> Clone for Windows<'a, T, O>
where T: Clone + 'a + BitStore, O: Clone + BitOrder,

§

impl<'a, T, O, P> Clone for RSplit<'a, T, O, P>
where T: Clone + 'a + BitStore, O: Clone + BitOrder, P: Clone + FnMut(usize, &bool) -> bool,

§

impl<'a, T, O, P> Clone for RSplitN<'a, T, O, P>
where T: Clone + 'a + BitStore, O: Clone + BitOrder, P: Clone + FnMut(usize, &bool) -> bool,

§

impl<'a, T, O, P> Clone for Split<'a, T, O, P>
where T: Clone + 'a + BitStore, O: Clone + BitOrder, P: Clone + FnMut(usize, &bool) -> bool,

§

impl<'a, T, O, P> Clone for SplitInclusive<'a, T, O, P>
where T: Clone + 'a + BitStore, O: Clone + BitOrder, P: Clone + FnMut(usize, &bool) -> bool,

§

impl<'a, T, O, P> Clone for SplitN<'a, T, O, P>
where T: Clone + 'a + BitStore, O: Clone + BitOrder, P: Clone + FnMut(usize, &bool) -> bool,

source§

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

source§

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

source§

impl<'de, E> Clone for BorrowedBytesDeserializer<'de, E>

source§

impl<'de, E> Clone for BorrowedStrDeserializer<'de, E>

source§

impl<'de, E> Clone for StrDeserializer<'de, E>

source§

impl<'de, I, E> Clone for MapDeserializer<'de, I, E>
where I: Iterator + Clone, <I as Iterator>::Item: Pair, <<I as Iterator>::Item as Pair>::Second: Clone,

source§

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

1.63.0 · source§

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

§

impl<'n> Clone for Finder<'n>

§

impl<'n> Clone for FinderRev<'n>

source§

impl<A> Clone for EnumAccessDeserializer<A>
where A: Clone,

source§

impl<A> Clone for MapAccessDeserializer<A>
where A: Clone,

source§

impl<A> Clone for SeqAccessDeserializer<A>
where A: Clone,

source§

impl<A> Clone for gstd::prelude::iter::Repeat<A>
where A: Clone,

source§

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

source§

impl<A> Clone for gstd::prelude::option::IntoIter<A>
where A: Clone,

source§

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

source§

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

source§

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

§

impl<A, B> Clone for Either<A, B>
where A: Clone, B: Clone,

§

impl<A, O> Clone for BitArray<A, O>
where A: BitViewSized, O: BitOrder,

§

impl<A, O> Clone for IntoIter<A, O>
where A: Clone + BitViewSized, O: Clone + BitOrder,

source§

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

1.55.0 · source§

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

source§

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

source§

impl<E> Clone for BoolDeserializer<E>

source§

impl<E> Clone for CharDeserializer<E>

source§

impl<E> Clone for F32Deserializer<E>

source§

impl<E> Clone for F64Deserializer<E>

source§

impl<E> Clone for I8Deserializer<E>

source§

impl<E> Clone for I16Deserializer<E>

source§

impl<E> Clone for I32Deserializer<E>

source§

impl<E> Clone for I64Deserializer<E>

source§

impl<E> Clone for I128Deserializer<E>

source§

impl<E> Clone for IsizeDeserializer<E>

source§

impl<E> Clone for StringDeserializer<E>

source§

impl<E> Clone for U8Deserializer<E>

source§

impl<E> Clone for U16Deserializer<E>

source§

impl<E> Clone for U32Deserializer<E>

source§

impl<E> Clone for U64Deserializer<E>

source§

impl<E> Clone for U128Deserializer<E>

source§

impl<E> Clone for UnitDeserializer<E>

source§

impl<E> Clone for UsizeDeserializer<E>

1.34.0 · source§

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

1.43.0 · source§

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

1.28.0 · source§

impl<F> Clone for gstd::prelude::iter::RepeatWith<F>
where F: Clone,

§

impl<F> Clone for OptionFuture<F>
where F: Clone,

§

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

§

impl<Fut> Clone for Shared<Fut>
where Fut: Future,

§

impl<Fut> Clone for WeakShared<Fut>
where Fut: Future,

1.7.0 · source§

impl<H> Clone for BuildHasherDefault<H>

1.9.0 · source§

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

source§

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

1.1.0 · source§

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

1.36.0 · source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

1.28.0 · source§

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

source§

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

§

impl<I> Clone for Iter<I>
where I: Clone,

source§

impl<I, E> Clone for SeqDeserializer<I, E>
where I: Clone, E: Clone,

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

1.57.0 · source§

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

source§

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

source§

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

source§

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

1.29.0 · source§

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

source§

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

source§

impl<I, const N: usize> Clone for gstd::prelude::iter::ArrayChunks<I, N>
where I: Clone + Iterator, <I as Iterator>::Item: Clone,

source§

impl<Idx> Clone for gstd::prelude::ops::Range<Idx>
where Idx: Clone,

source§

impl<Idx> Clone for RangeFrom<Idx>
where Idx: Clone,

1.26.0 · source§

impl<Idx> Clone for RangeInclusive<Idx>
where Idx: Clone,

source§

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

1.26.0 · source§

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

§

impl<Inner> Clone for Frozen<Inner>
where Inner: Clone + Mutability,

§

impl<K> Clone for gstd::prelude::collections::hash_set::Iter<'_, K>

source§

impl<K> Clone for std::collections::hash::set::Iter<'_, K>

source§

impl<K, V> Clone for gstd::prelude::collections::btree_map::Cursor<'_, K, V>

source§

impl<K, V> Clone for gstd::prelude::collections::btree_map::Iter<'_, K, V>

source§

impl<K, V> Clone for gstd::prelude::collections::btree_map::Keys<'_, K, V>

1.17.0 · source§

impl<K, V> Clone for gstd::prelude::collections::btree_map::Range<'_, K, V>

source§

impl<K, V> Clone for gstd::prelude::collections::btree_map::Values<'_, K, V>

§

impl<K, V> Clone for gstd::prelude::collections::hash_map::Iter<'_, K, V>

§

impl<K, V> Clone for gstd::prelude::collections::hash_map::Keys<'_, K, V>

§

impl<K, V> Clone for gstd::prelude::collections::hash_map::Values<'_, K, V>

source§

impl<K, V> Clone for std::collections::hash::map::Iter<'_, K, V>

source§

impl<K, V> Clone for std::collections::hash::map::Keys<'_, K, V>

source§

impl<K, V> Clone for std::collections::hash::map::Values<'_, K, V>

source§

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

source§

impl<K, V, S> Clone for std::collections::hash::map::HashMap<K, V, S>
where K: Clone, V: Clone, S: Clone,

§

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

§

impl<K, V, S, A> Clone for gstd::prelude::collections::HashMap<K, V, S, A>
where K: Clone, V: Clone, S: Clone, A: Allocator + Clone,

§

impl<M, T> Clone for Address<M, T>
where M: Mutability, T: ?Sized,

§

impl<M, T, O> Clone for BitPtr<M, T, O>
where M: Mutability, T: BitStore, O: BitOrder,

§

impl<M, T, O> Clone for BitPtrRange<M, T, O>
where M: Mutability, T: BitStore, O: BitOrder,

§

impl<NI> Clone for Avx2Machine<NI>
where NI: Clone,

1.33.0 · source§

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

source§

impl<R> Clone for BlockRng64<R>

source§

impl<R> Clone for BlockRng<R>

§

impl<R> Clone for BitEnd<R>
where R: Clone + BitRegister,

§

impl<R> Clone for BitIdx<R>
where R: Clone + BitRegister,

§

impl<R> Clone for BitIdxError<R>
where R: Clone + BitRegister,

§

impl<R> Clone for BitMask<R>
where R: Clone + BitRegister,

§

impl<R> Clone for BitPos<R>
where R: Clone + BitRegister,

§

impl<R> Clone for BitSel<R>
where R: Clone + BitRegister,

source§

impl<R, Rsdr> Clone for ReseedingRng<R, Rsdr>
where R: BlockRngCore + SeedableRng + Clone, Rsdr: RngCore + Clone,

§

impl<S3, S4, NI> Clone for SseMachine<S3, S4, NI>
where S3: Clone, S4: Clone, NI: Clone,

§

impl<S> Clone for PollImmediate<S>
where S: Clone,

§

impl<Si, F> Clone for SinkMapErr<Si, F>
where Si: Clone, F: Clone,

§

impl<Si, Item, U, Fut, F> Clone for With<Si, Item, U, Fut, F>
where Si: Clone, F: Clone, Fut: Clone,

source§

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

Shared references can be cloned, but mutable references cannot!

source§

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

source§

impl<T> Clone for std::sync::mpsc::TrySendError<T>
where T: Clone,

1.17.0 · source§

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

1.36.0 · source§

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

source§

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

source§

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

source§

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

Shared references can be cloned, but mutable references cannot!

source§

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

1.70.0 · source§

impl<T> Clone for gstd::prelude::cell::OnceCell<T>
where T: Clone,

source§

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

1.19.0 · source§

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

source§

impl<T> Clone for gstd::prelude::collections::binary_heap::Iter<'_, T>

source§

impl<T> Clone for gstd::prelude::collections::btree_set::Iter<'_, T>

1.17.0 · source§

impl<T> Clone for gstd::prelude::collections::btree_set::Range<'_, T>

source§

impl<T> Clone for gstd::prelude::collections::btree_set::SymmetricDifference<'_, T>

source§

impl<T> Clone for gstd::prelude::collections::btree_set::Union<'_, T>

source§

impl<T> Clone for gstd::prelude::collections::linked_list::Iter<'_, T>

source§

impl<T> Clone for gstd::prelude::collections::vec_deque::Iter<'_, T>

1.48.0 · source§

impl<T> Clone for gstd::prelude::future::Pending<T>

1.48.0 · source§

impl<T> Clone for gstd::prelude::future::Ready<T>
where T: Clone,

source§

impl<T> Clone for std::io::cursor::Cursor<T>
where T: Clone,

source§

impl<T> Clone for std::sync::mpsc::SendError<T>
where T: Clone,

source§

impl<T> Clone for std::sync::mpsc::Sender<T>

source§

impl<T> Clone for SyncSender<T>

1.70.0 · source§

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

source§

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

1.2.0 · source§

impl<T> Clone for gstd::prelude::iter::Empty<T>

1.2.0 · source§

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

source§

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

source§

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

1.21.0 · source§

impl<T> Clone for Discriminant<T>

1.20.0 · source§

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

1.74.0 · source§

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

source§

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

1.25.0 · source§

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

source§

impl<T> Clone for gstd::prelude::result::IntoIter<T>
where T: Clone,

source§

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

source§

impl<T> Clone for gstd::prelude::slice::Chunks<'_, T>

1.31.0 · source§

impl<T> Clone for gstd::prelude::slice::ChunksExact<'_, T>

source§

impl<T> Clone for gstd::prelude::slice::Iter<'_, T>

1.31.0 · source§

impl<T> Clone for gstd::prelude::slice::RChunks<'_, T>

source§

impl<T> Clone for gstd::prelude::slice::Windows<'_, T>

1.36.0 · source§

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

§

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

§

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

§

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

§

impl<T> Clone for BitPtrError<T>
where T: Clone + BitStore,

§

impl<T> Clone for BitSpanError<T>
where T: Clone + BitStore,

§

impl<T> Clone for Bucket<T>

§

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

§

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

§

impl<T> Clone for Drain<T>

§

impl<T> Clone for Empty<T>

§

impl<T> Clone for Field<T>
where T: Clone + Form, <T as Form>::String: Clone, <T as Form>::Type: Clone,

§

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

§

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

§

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

§

impl<T> Clone for Path<T>
where T: Clone + Form, <T as Form>::String: Clone,

§

impl<T> Clone for Pending<T>

§

impl<T> Clone for Pending<T>

§

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

§

impl<T> Clone for RawIter<T>

§

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

§

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

§

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

§

impl<T> Clone for Sender<T>

§

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

§

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

§

impl<T> Clone for Type<T>
where T: Clone + Form, <T as Form>::String: Clone,

§

impl<T> Clone for TypeDef<T>
where T: Clone + Form,

§

impl<T> Clone for TypeDefArray<T>
where T: Clone + Form, <T as Form>::Type: Clone,

§

impl<T> Clone for TypeDefBitSequence<T>
where T: Clone + Form, <T as Form>::Type: Clone,

§

impl<T> Clone for TypeDefCompact<T>
where T: Clone + Form, <T as Form>::Type: Clone,

§

impl<T> Clone for TypeDefComposite<T>
where T: Clone + Form,

§

impl<T> Clone for TypeDefSequence<T>
where T: Clone + Form, <T as Form>::Type: Clone,

§

impl<T> Clone for TypeDefTuple<T>
where T: Clone + Form, <T as Form>::Type: Clone,

§

impl<T> Clone for TypeDefVariant<T>
where T: Clone + Form,

§

impl<T> Clone for TypeParameter<T>
where T: Clone + Form, <T as Form>::String: Clone, <T as Form>::Type: Clone,

§

impl<T> Clone for Unalign<T>
where T: Copy,

§

impl<T> Clone for UnboundedSender<T>

§

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

§

impl<T> Clone for Variant<T>
where T: Clone + Form, <T as Form>::String: Clone,

source§

impl<T, A> Clone for gstd::prelude::collections::binary_heap::IntoIter<T, A>
where T: Clone, A: Clone + Allocator,

source§

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

source§

impl<T, A> Clone for gstd::prelude::collections::btree_set::Difference<'_, T, A>
where A: Allocator + Clone,

source§

impl<T, A> Clone for gstd::prelude::collections::btree_set::Intersection<'_, T, A>
where A: Allocator + Clone,

source§

impl<T, A> Clone for gstd::prelude::collections::linked_list::Cursor<'_, T, A>
where A: Allocator,

source§

impl<T, A> Clone for gstd::prelude::collections::linked_list::IntoIter<T, A>
where T: Clone, A: Clone + Allocator,

source§

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

source§

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

source§

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

source§

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

source§

impl<T, A> Clone for gstd::prelude::collections::vec_deque::IntoIter<T, A>
where T: Clone, A: Clone + Allocator,

source§

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

1.4.0 · source§

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

source§

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

1.4.0 · source§

impl<T, A> Clone for gstd::prelude::rc::Weak<T, A>
where A: Allocator + Clone, T: ?Sized,

1.3.0 · source§

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

source§

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

source§

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

1.8.0 · source§

impl<T, A> Clone for gstd::prelude::vec::IntoIter<T, A>
where T: Clone, A: Allocator + Clone,

§

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

§

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

§

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

§

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

§

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

§

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

source§

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

1.34.0 · source§

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

§

impl<T, O> Clone for BitBox<T, O>
where T: BitStore, O: BitOrder,

§

impl<T, O> Clone for BitDomain<'_, Const, T, O>
where T: BitStore, O: BitOrder,

§

impl<T, O> Clone for BitRef<'_, Const, T, O>
where T: BitStore, O: BitOrder,

§

impl<T, O> Clone for BitVec<T, O>
where T: BitStore, O: BitOrder,

§

impl<T, O> Clone for Domain<'_, Const, T, O>
where T: BitStore, O: BitOrder,

§

impl<T, O> Clone for IntoIter<T, O>
where T: BitStore, O: BitOrder,

§

impl<T, O> Clone for Iter<'_, T, O>
where T: BitStore, O: BitOrder,

1.27.0 · source§

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

source§

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

1.51.0 · source§

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

source§

impl<T, S> Clone for std::collections::hash::set::Difference<'_, T, S>

source§

impl<T, S> Clone for std::collections::hash::set::HashSet<T, S>
where T: Clone, S: Clone,

source§

impl<T, S> Clone for std::collections::hash::set::Intersection<'_, T, S>

source§

impl<T, S> Clone for std::collections::hash::set::SymmetricDifference<'_, T, S>

source§

impl<T, S> Clone for std::collections::hash::set::Union<'_, T, S>

§

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

§

impl<T, S, A> Clone for gstd::prelude::collections::hash_set::Difference<'_, T, S, A>
where A: Allocator,

§

impl<T, S, A> Clone for gstd::prelude::collections::hash_set::Intersection<'_, T, S, A>
where A: Allocator,

§

impl<T, S, A> Clone for gstd::prelude::collections::hash_set::SymmetricDifference<'_, T, S, A>
where A: Allocator,

§

impl<T, S, A> Clone for gstd::prelude::collections::hash_set::Union<'_, T, S, A>
where A: Allocator,

§

impl<T, S, A> Clone for gstd::prelude::collections::HashSet<T, S, A>
where T: Clone, S: Clone, A: Allocator + Clone,

source§

impl<T, const CAP: usize> Clone for ArrayVec<T, CAP>
where T: Clone,

source§

impl<T, const CAP: usize> Clone for arrayvec::arrayvec::IntoIter<T, CAP>
where T: Clone,

1.58.0 · source§

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

1.40.0 · source§

impl<T, const N: usize> Clone for gstd::prelude::array::IntoIter<T, N>
where T: Clone,

source§

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

source§

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

source§

impl<T, const N: usize> Clone for gstd::prelude::slice::ArrayChunks<'_, T, N>

source§

impl<X> Clone for Uniform<X>

source§

impl<X> Clone for UniformFloat<X>
where X: Clone,

source§

impl<X> Clone for UniformInt<X>
where X: Clone,

source§

impl<X> Clone for WeightedIndex<X>

source§

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

source§

impl<const CAP: usize> Clone for ArrayString<CAP>