1.0.0[−][src]Trait boolean_enums::lstd::prelude::v1::Clone
A common trait for the ability to explicitly duplicate an object.
Differs from Copy in that Copy is implicit and extremely inexpensive, 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 } }
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) - Array types, for all sizes, if the item type also implements
Clone(e.g.,[i32; 123456]) - Tuple types, if each component also implements
Clone(e.g.,(),(i32, bool)) - Closure types, if they capture no value from the environment
or if all such captured values implement
Clonethemselves. Note that variables captured by shared reference always implementClone(even if the referent doesn't), while variables captured by mutable reference never implementClone.
Required methods
#[must_use = "cloning is often expensive and is not expected to have side effects"]
fn clone(&self) -> Self
Returns a copy of the value.
Examples
let hello = "Hello"; // &str implements Clone assert_eq!("Hello", hello.clone());
Provided methods
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.
Implementations on Foreign Types
impl Clone for u8[src]
impl Clone for u8impl Clone for i64[src]
impl Clone for i64impl Clone for usize[src]
impl Clone for usizeimpl Clone for f64[src]
impl Clone for f64impl Clone for IntErrorKind[src]
impl Clone for IntErrorKindfn clone(&self) -> IntErrorKind | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for u64[src]
impl Clone for u64impl Clone for ![src]
impl Clone for !impl<T> Clone for *mut T where
T: ?Sized, [src]
impl<T> Clone for *mut T where
T: ?Sized, impl Clone for i8[src]
impl Clone for i8impl<'_, T> Clone for &'_ T where
T: ?Sized, [src]
impl<'_, T> Clone for &'_ T where
T: ?Sized, ⓘImportant traits for &'a mut W
fn clone(&self) -> &'_ T | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<T> Clone for *const T where
T: ?Sized, [src]
impl<T> Clone for *const T where
T: ?Sized, impl Clone for f32[src]
impl Clone for f32impl Clone for u16[src]
impl Clone for u16impl Clone for char[src]
impl Clone for charimpl Clone for u32[src]
impl Clone for u32impl Clone for bool[src]
impl Clone for boolimpl Clone for i32[src]
impl Clone for i32impl Clone for TryFromSliceError[src]
impl Clone for TryFromSliceErrorfn clone(&self) -> TryFromSliceError | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for isize[src]
impl Clone for isizeimpl Clone for i16[src]
impl Clone for i16impl Clone for u128[src]
impl Clone for u128impl Clone for i128[src]
impl Clone for i128impl Clone for sockaddr_nl[src]
impl Clone for sockaddr_nlfn clone(&self) -> sockaddr_nl | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for sched_param[src]
impl Clone for sched_paramfn clone(&self) -> sched_param | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for statfs[src]
impl Clone for statfsimpl Clone for arpd_request[src]
impl Clone for arpd_requestfn clone(&self) -> arpd_request | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for input_absinfo[src]
impl Clone for input_absinfofn clone(&self) -> input_absinfo | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for msqid_ds[src]
impl Clone for msqid_dsimpl Clone for posix_spawn_file_actions_t[src]
impl Clone for posix_spawn_file_actions_tfn clone(&self) -> posix_spawn_file_actions_t | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for in_addr[src]
impl Clone for in_addrimpl Clone for rusage[src]
impl Clone for rusageimpl Clone for in6_pktinfo[src]
impl Clone for in6_pktinfofn clone(&self) -> in6_pktinfo | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for termios2[src]
impl Clone for termios2impl Clone for dirent[src]
impl Clone for direntimpl Clone for sigevent[src]
impl Clone for sigeventimpl Clone for statvfs[src]
impl Clone for statvfsimpl Clone for itimerval[src]
impl Clone for itimervalimpl Clone for ipv6_mreq[src]
impl Clone for ipv6_mreqimpl Clone for rlimit[src]
impl Clone for rlimitimpl Clone for sockaddr_in6[src]
impl Clone for sockaddr_in6fn clone(&self) -> sockaddr_in6 | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for Elf64_Shdr[src]
impl Clone for Elf64_Shdrfn clone(&self) -> Elf64_Shdr | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for aiocb[src]
impl Clone for aiocbimpl Clone for dqblk[src]
impl Clone for dqblkimpl Clone for siginfo_t[src]
impl Clone for siginfo_timpl Clone for statvfs64[src]
impl Clone for statvfs64impl Clone for shmid_ds[src]
impl Clone for shmid_dsimpl Clone for Elf32_Shdr[src]
impl Clone for Elf32_Shdrfn clone(&self) -> Elf32_Shdr | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for Elf32_Phdr[src]
impl Clone for Elf32_Phdrfn clone(&self) -> Elf32_Phdr | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for mallinfo[src]
impl Clone for mallinfoimpl Clone for input_id[src]
impl Clone for input_idimpl Clone for lconv[src]
impl Clone for lconvimpl Clone for ff_constant_effect[src]
impl Clone for ff_constant_effectfn clone(&self) -> ff_constant_effect | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for nlmsghdr[src]
impl Clone for nlmsghdrimpl Clone for ipc_perm[src]
impl Clone for ipc_permimpl Clone for Dl_info[src]
impl Clone for Dl_infoimpl Clone for user_regs_struct[src]
impl Clone for user_regs_structfn clone(&self) -> user_regs_struct | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for posix_spawnattr_t[src]
impl Clone for posix_spawnattr_tfn clone(&self) -> posix_spawnattr_t | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for protoent[src]
impl Clone for protoentimpl Clone for sockaddr_in[src]
impl Clone for sockaddr_infn clone(&self) -> sockaddr_in | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for ip_mreq[src]
impl Clone for ip_mreqimpl Clone for pthread_attr_t[src]
impl Clone for pthread_attr_tfn clone(&self) -> pthread_attr_t | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for passwd[src]
impl Clone for passwdimpl Clone for flock[src]
impl Clone for flockimpl Clone for timeval[src]
impl Clone for timevalimpl Clone for utimbuf[src]
impl Clone for utimbufimpl Clone for ff_trigger[src]
impl Clone for ff_triggerfn clone(&self) -> ff_trigger | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for ff_effect[src]
impl Clone for ff_effectimpl Clone for sem_t[src]
impl Clone for sem_timpl Clone for pthread_rwlock_t[src]
impl Clone for pthread_rwlock_tfn clone(&self) -> pthread_rwlock_t | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for mq_attr[src]
impl Clone for mq_attrimpl Clone for ucred[src]
impl Clone for ucredimpl Clone for pthread_rwlockattr_t[src]
impl Clone for pthread_rwlockattr_tfn clone(&self) -> pthread_rwlockattr_t | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for mcontext_t[src]
impl Clone for mcontext_tfn clone(&self) -> mcontext_t | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for mmsghdr[src]
impl Clone for mmsghdrimpl Clone for addrinfo[src]
impl Clone for addrinfoimpl Clone for sembuf[src]
impl Clone for sembufimpl Clone for statfs64[src]
impl Clone for statfs64impl Clone for linger[src]
impl Clone for lingerimpl Clone for rlimit64[src]
impl Clone for rlimit64impl Clone for sigval[src]
impl Clone for sigvalimpl Clone for __timeval[src]
impl Clone for __timevalimpl Clone for dl_phdr_info[src]
impl Clone for dl_phdr_infofn clone(&self) -> dl_phdr_info | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for Elf32_Sym[src]
impl Clone for Elf32_Symimpl Clone for sockaddr_ll[src]
impl Clone for sockaddr_llfn clone(&self) -> sockaddr_ll | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for msghdr[src]
impl Clone for msghdrimpl Clone for msginfo[src]
impl Clone for msginfoimpl Clone for group[src]
impl Clone for groupimpl Clone for arphdr[src]
impl Clone for arphdrimpl Clone for input_event[src]
impl Clone for input_eventfn clone(&self) -> input_event | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for ff_rumble_effect[src]
impl Clone for ff_rumble_effectfn clone(&self) -> ff_rumble_effect | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for dirent64[src]
impl Clone for dirent64impl Clone for winsize[src]
impl Clone for winsizeimpl Clone for nl_mmap_hdr[src]
impl Clone for nl_mmap_hdrfn clone(&self) -> nl_mmap_hdr | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for __exit_status[src]
impl Clone for __exit_statusfn clone(&self) -> __exit_status | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for timespec[src]
impl Clone for timespecimpl Clone for pthread_mutex_t[src]
impl Clone for pthread_mutex_tfn clone(&self) -> pthread_mutex_t | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for mntent[src]
impl Clone for mntentimpl Clone for user_fpregs_struct[src]
impl Clone for user_fpregs_structfn clone(&self) -> user_fpregs_struct | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for _libc_fpstate[src]
impl Clone for _libc_fpstatefn clone(&self) -> _libc_fpstate | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for sigset_t[src]
impl Clone for sigset_timpl Clone for iovec[src]
impl Clone for iovecimpl Clone for sockaddr[src]
impl Clone for sockaddrimpl Clone for sockaddr_storage[src]
impl Clone for sockaddr_storagefn clone(&self) -> sockaddr_storage | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for rtentry[src]
impl Clone for rtentryimpl Clone for utsname[src]
impl Clone for utsnameimpl Clone for ff_condition_effect[src]
impl Clone for ff_condition_effectfn clone(&self) -> ff_condition_effect | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for itimerspec[src]
impl Clone for itimerspecfn clone(&self) -> itimerspec | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for in6_rtmsg[src]
impl Clone for in6_rtmsgimpl Clone for nlattr[src]
impl Clone for nlattrimpl Clone for spwd[src]
impl Clone for spwdimpl Clone for user[src]
impl Clone for userimpl Clone for Elf32_Chdr[src]
impl Clone for Elf32_Chdrfn clone(&self) -> Elf32_Chdr | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for in_pktinfo[src]
impl Clone for in_pktinfofn clone(&self) -> in_pktinfo | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for pthread_condattr_t[src]
impl Clone for pthread_condattr_tfn clone(&self) -> pthread_condattr_t | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for fsid_t[src]
impl Clone for fsid_timpl Clone for ucontext_t[src]
impl Clone for ucontext_tfn clone(&self) -> ucontext_t | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for utmpx[src]
impl Clone for utmpximpl Clone for ff_ramp_effect[src]
impl Clone for ff_ramp_effectfn clone(&self) -> ff_ramp_effect | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for ff_periodic_effect[src]
impl Clone for ff_periodic_effectfn clone(&self) -> ff_periodic_effect | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for nl_pktinfo[src]
impl Clone for nl_pktinfofn clone(&self) -> nl_pktinfo | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for fd_set[src]
impl Clone for fd_setimpl Clone for input_keymap_entry[src]
impl Clone for input_keymap_entryfn clone(&self) -> input_keymap_entry | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for stat[src]
impl Clone for statimpl Clone for packet_mreq[src]
impl Clone for packet_mreqfn clone(&self) -> packet_mreq | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for Elf64_Chdr[src]
impl Clone for Elf64_Chdrfn clone(&self) -> Elf64_Chdr | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for sockaddr_un[src]
impl Clone for sockaddr_unfn clone(&self) -> sockaddr_un | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for pthread_mutexattr_t[src]
impl Clone for pthread_mutexattr_tfn clone(&self) -> pthread_mutexattr_t | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for glob_t[src]
impl Clone for glob_timpl Clone for in6_addr[src]
impl Clone for in6_addrimpl Clone for _libc_xmmreg[src]
impl Clone for _libc_xmmregfn clone(&self) -> _libc_xmmreg | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for nl_mmap_req[src]
impl Clone for nl_mmap_reqfn clone(&self) -> nl_mmap_req | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for arpreq[src]
impl Clone for arpreqimpl Clone for pthread_cond_t[src]
impl Clone for pthread_cond_tfn clone(&self) -> pthread_cond_t | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for termios[src]
impl Clone for termiosimpl Clone for ifaddrs[src]
impl Clone for ifaddrsimpl Clone for arpreq_old[src]
impl Clone for arpreq_oldfn clone(&self) -> arpreq_old | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for ff_replay[src]
impl Clone for ff_replayimpl Clone for ff_envelope[src]
impl Clone for ff_envelopefn clone(&self) -> ff_envelope | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for hostent[src]
impl Clone for hostentimpl Clone for if_nameindex[src]
impl Clone for if_nameindexfn clone(&self) -> if_nameindex | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for glob64_t[src]
impl Clone for glob64_timpl Clone for input_mask[src]
impl Clone for input_maskfn clone(&self) -> input_mask | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for _libc_fpxreg[src]
impl Clone for _libc_fpxregfn clone(&self) -> _libc_fpxreg | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for servent[src]
impl Clone for serventimpl Clone for stack_t[src]
impl Clone for stack_timpl Clone for cpu_set_t[src]
impl Clone for cpu_set_timpl Clone for Elf32_Ehdr[src]
impl Clone for Elf32_Ehdrfn clone(&self) -> Elf32_Ehdr | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for Elf64_Phdr[src]
impl Clone for Elf64_Phdrfn clone(&self) -> Elf64_Phdr | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for pollfd[src]
impl Clone for pollfdimpl Clone for epoll_event[src]
impl Clone for epoll_eventfn clone(&self) -> epoll_event | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for genlmsghdr[src]
impl Clone for genlmsghdrfn clone(&self) -> genlmsghdr | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for stat64[src]
impl Clone for stat64impl Clone for Elf64_Sym[src]
impl Clone for Elf64_Symimpl Clone for nlmsgerr[src]
impl Clone for nlmsgerrimpl Clone for sigaction[src]
impl Clone for sigactionimpl Clone for signalfd_siginfo[src]
impl Clone for signalfd_siginfofn clone(&self) -> signalfd_siginfo | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for cmsghdr[src]
impl Clone for cmsghdrimpl Clone for sysinfo[src]
impl Clone for sysinfoimpl Clone for tms[src]
impl Clone for tmsimpl Clone for Elf64_Ehdr[src]
impl Clone for Elf64_Ehdrfn clone(&self) -> Elf64_Ehdr | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for tm[src]
impl Clone for tmimpl Clone for TryDemangleError
impl Clone for TryDemangleErrorfn clone(&self) -> TryDemangleError |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for _Unwind_Action
impl Clone for _Unwind_Actionfn clone(&self) -> _Unwind_Action |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for _Unwind_Reason_Code
impl Clone for _Unwind_Reason_Codefn clone(&self) -> _Unwind_Reason_Code |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Implementors
impl Clone for SeekFrom[src]
impl Clone for SeekFromimpl Clone for Thread[src]
impl Clone for Threadimpl Clone for SystemTimeError[src]
impl Clone for SystemTimeErrorfn clone(&self) -> SystemTimeError | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for SystemTime[src]
impl Clone for SystemTimefn clone(&self) -> SystemTime | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for StripPrefixError[src]
impl Clone for StripPrefixErrorfn clone(&self) -> StripPrefixError | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for RecvTimeoutError[src]
impl Clone for RecvTimeoutErrorfn clone(&self) -> RecvTimeoutError | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for OpenOptions[src]
impl Clone for OpenOptionsfn clone(&self) -> OpenOptions | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl Clone for OsString[src]
impl Clone for OsStringimpl Clone for ExitCode[src]
impl Clone for ExitCodeimpl Clone for ErrorKind[src]
impl Clone for ErrorKindimpl Clone for Metadata[src]
impl Clone for Metadataimpl Clone for NulError[src]
impl Clone for NulErrorimpl Clone for IntoStringError[src]
impl Clone for IntoStringErrorfn clone(&self) -> IntoStringError | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for IpAddr[src]
impl Clone for IpAddrimpl Clone for VarError[src]
impl Clone for VarErrorimpl Clone for boolean_enums::lstd::os::unix::net::SocketAddr[src]
impl Clone for boolean_enums::lstd::os::unix::net::SocketAddrfn clone(&self) -> SocketAddr | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for TryRecvError[src]
impl Clone for TryRecvErrorfn clone(&self) -> TryRecvError | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl Clone for Output[src]
impl Clone for Outputimpl Clone for Permissions[src]
impl Clone for Permissionsfn clone(&self) -> Permissions | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl Clone for FromBytesWithNulError[src]
impl Clone for FromBytesWithNulErrorfn clone(&self) -> FromBytesWithNulError | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for DefaultHasher[src]
impl Clone for DefaultHasherfn clone(&self) -> DefaultHasher | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for RandomState[src]
impl Clone for RandomStatefn clone(&self) -> RandomState | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for Instant[src]
impl Clone for Instantimpl Clone for RecvError[src]
impl Clone for RecvErrorimpl Clone for ThreadId[src]
impl Clone for ThreadIdimpl Clone for System[src]
impl Clone for Systemimpl Clone for CString[src]
impl Clone for CStringimpl Clone for PathBuf[src]
impl Clone for PathBufimpl Clone for boolean_enums::lstd::net::SocketAddr[src]
impl Clone for boolean_enums::lstd::net::SocketAddrfn clone(&self) -> SocketAddr | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl Clone for WaitTimeoutResult[src]
impl Clone for WaitTimeoutResultfn clone(&self) -> WaitTimeoutResult | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for Shutdown[src]
impl Clone for Shutdownimpl Clone for AddrParseError[src]
impl Clone for AddrParseErrorfn clone(&self) -> AddrParseError | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl Clone for ExitStatus[src]
impl Clone for ExitStatusfn clone(&self) -> ExitStatus | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl Clone for boolean_enums::lstd::os::linux::raw::stat[src]
impl Clone for boolean_enums::lstd::os::linux::raw::statimpl Clone for FileType[src]
impl Clone for FileTypeimpl Clone for ToLowercase[src]
impl Clone for ToLowercaseⓘImportant traits for ToLowercase
fn clone(&self) -> ToLowercase | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl Clone for ParseBoolError[src]
impl Clone for ParseBoolErrorfn clone(&self) -> ParseBoolError | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl Clone for TryFromIntError[src]
impl Clone for TryFromIntErrorfn clone(&self) -> TryFromIntError | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for Duration[src]
impl Clone for Durationimpl Clone for NonZeroUsize[src]
impl Clone for NonZeroUsizefn clone(&self) -> NonZeroUsize | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for PhantomPinned[src]
impl Clone for PhantomPinnedfn clone(&self) -> PhantomPinned | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for SipHasher[src]
impl Clone for SipHasherimpl Clone for ToUppercase[src]
impl Clone for ToUppercaseⓘImportant traits for ToUppercase
fn clone(&self) -> ToUppercase | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl Clone for boolean_enums::lstd::cmp::Ordering[src]
impl Clone for boolean_enums::lstd::cmp::Orderingimpl Clone for CharTryFromError[src]
impl Clone for CharTryFromErrorfn clone(&self) -> CharTryFromError | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for EscapeUnicode[src]
impl Clone for EscapeUnicodeⓘImportant traits for EscapeUnicode
fn clone(&self) -> EscapeUnicode | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl Clone for CannotReallocInPlace[src]
impl Clone for CannotReallocInPlacefn clone(&self) -> CannotReallocInPlace | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for SearchStep[src]
impl Clone for SearchStepfn clone(&self) -> SearchStep | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for EscapeDefault[src]
impl Clone for EscapeDefaultⓘImportant traits for EscapeDefault
fn clone(&self) -> EscapeDefault | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl Clone for ParseCharError[src]
impl Clone for ParseCharErrorfn clone(&self) -> ParseCharError | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for TypeId[src]
impl Clone for TypeIdimpl Clone for ParseIntError[src]
impl Clone for ParseIntErrorfn clone(&self) -> ParseIntError | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl Clone for LayoutErr[src]
impl Clone for LayoutErrimpl Clone for NoneError[src]
impl Clone for NoneErrorimpl Clone for TraitObject[src]
impl Clone for TraitObjectfn clone(&self) -> TraitObject | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for Error[src]
impl Clone for Errorimpl Clone for Waker[src]
impl Clone for Wakerimpl Clone for UnicodeVersion[src]
impl Clone for UnicodeVersionfn clone(&self) -> UnicodeVersion | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for AllocErr[src]
impl Clone for AllocErrimpl Clone for EscapeDebug[src]
impl Clone for EscapeDebugⓘImportant traits for EscapeDebug
fn clone(&self) -> EscapeDebug | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for FpCategory[src]
impl Clone for FpCategoryfn clone(&self) -> FpCategory | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl Clone for Layout[src]
impl Clone for Layoutimpl Clone for ParseFloatError[src]
impl Clone for ParseFloatErrorfn clone(&self) -> ParseFloatError | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl Clone for RangeFull[src]
impl Clone for RangeFullimpl Clone for LocalWaker[src]
impl Clone for LocalWakerfn clone(&self) -> LocalWaker | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for boolean_enums::lstd::sync::atomic::Ordering[src]
impl Clone for boolean_enums::lstd::sync::atomic::Orderingimpl Clone for CollectionAllocErr[src]
impl Clone for CollectionAllocErrfn clone(&self) -> CollectionAllocErr | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for ParseError[src]
impl Clone for ParseErrorfn clone(&self) -> ParseError | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for Global[src]
impl Clone for Globalimpl Clone for Ipv6MulticastScope[src]
impl Clone for Ipv6MulticastScopefn clone(&self) -> Ipv6MulticastScope | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for CpuidResult[src]
impl Clone for CpuidResultfn clone(&self) -> CpuidResult | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for __m128[src]
impl Clone for __m128impl Clone for __m128d[src]
impl Clone for __m128dimpl Clone for __m128i[src]
impl Clone for __m128iimpl Clone for __m256[src]
impl Clone for __m256impl Clone for __m256d[src]
impl Clone for __m256dimpl Clone for __m256i[src]
impl Clone for __m256iimpl Clone for __m512[src]
impl Clone for __m512impl Clone for __m512d[src]
impl Clone for __m512dimpl Clone for __m512i[src]
impl Clone for __m512iimpl Clone for __m64[src]
impl Clone for __m64impl Clone for DecodeUtf16Error[src]
impl Clone for DecodeUtf16Errorfn clone(&self) -> DecodeUtf16Error | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for Ipv4Addr[src]
impl Clone for Ipv4Addrimpl Clone for Ipv6Addr[src]
impl Clone for Ipv6Addrimpl Clone for SocketAddrV4[src]
impl Clone for SocketAddrV4fn clone(&self) -> SocketAddrV4 | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl Clone for SocketAddrV6[src]
impl Clone for SocketAddrV6fn clone(&self) -> SocketAddrV6 | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl Clone for NonZeroU128[src]
impl Clone for NonZeroU128fn clone(&self) -> NonZeroU128 | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for NonZeroU16[src]
impl Clone for NonZeroU16fn clone(&self) -> NonZeroU16 | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for NonZeroU32[src]
impl Clone for NonZeroU32fn clone(&self) -> NonZeroU32 | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for NonZeroU64[src]
impl Clone for NonZeroU64fn clone(&self) -> NonZeroU64 | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for NonZeroU8[src]
impl Clone for NonZeroU8impl Clone for Box<OsStr>[src]
impl Clone for Box<OsStr>ⓘImportant traits for Box<W>
fn clone(&self) -> Box<OsStr> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for Box<Path>[src]
impl Clone for Box<Path>ⓘImportant traits for Box<W>
fn clone(&self) -> Box<Path> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for Box<CStr>[src]
impl Clone for Box<CStr>ⓘImportant traits for Box<W>
fn clone(&self) -> Box<CStr> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for Box<str>[src]
impl Clone for Box<str>ⓘImportant traits for Box<W>
fn clone(&self) -> Box<str> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl Clone for String[src]
impl Clone for Stringimpl Clone for Utf8Error[src]
impl Clone for Utf8Errorimpl<'_, A> Clone for boolean_enums::lstd::option::Iter<'_, A>[src]
impl<'_, A> Clone for boolean_enums::lstd::option::Iter<'_, A>ⓘImportant traits for Iter<'a, A>
fn clone(&self) -> Iter<'_, A> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'_, T> Clone for Windows<'_, T>[src]
impl<'_, T> Clone for Windows<'_, T>ⓘImportant traits for Windows<'a, T>
fn clone(&self) -> Windows<'_, T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'_, T> Clone for ChunksExact<'_, T>[src]
impl<'_, T> Clone for ChunksExact<'_, T>ⓘImportant traits for ChunksExact<'a, T>
fn clone(&self) -> ChunksExact<'_, T> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'_, T> Clone for boolean_enums::lstd::slice::Iter<'_, T>[src]
impl<'_, T> Clone for boolean_enums::lstd::slice::Iter<'_, T>ⓘImportant traits for Iter<'a, T>
fn clone(&self) -> Iter<'_, T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'_, T> Clone for boolean_enums::lstd::result::Iter<'_, T>[src]
impl<'_, T> Clone for boolean_enums::lstd::result::Iter<'_, T>ⓘImportant traits for Iter<'a, T>
fn clone(&self) -> Iter<'_, T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'_, T> Clone for Chunks<'_, T>[src]
impl<'_, T> Clone for Chunks<'_, T>ⓘImportant traits for Chunks<'a, T>
fn clone(&self) -> Chunks<'_, T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'_, T, P> Clone for boolean_enums::lstd::slice::Split<'_, T, P> where
P: Clone + FnMut(&T) -> bool, [src]
impl<'_, T, P> Clone for boolean_enums::lstd::slice::Split<'_, T, P> where
P: Clone + FnMut(&T) -> bool, ⓘImportant traits for Split<'a, T, P>
fn clone(&self) -> Split<'_, T, P> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a> Clone for Ancestors<'a>[src]
impl<'a> Clone for Ancestors<'a>ⓘImportant traits for Ancestors<'a>
fn clone(&self) -> Ancestors<'a> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a> Clone for Components<'a>[src]
impl<'a> Clone for Components<'a>ⓘImportant traits for Components<'a>
fn clone(&self) -> Components<'a> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a> Clone for Component<'a>[src]
impl<'a> Clone for Component<'a>impl<'a> Clone for Prefix<'a>[src]
impl<'a> Clone for Prefix<'a>impl<'a> Clone for PrefixComponent<'a>[src]
impl<'a> Clone for PrefixComponent<'a>fn clone(&self) -> PrefixComponent<'a> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a> Clone for boolean_enums::lstd::path::Iter<'a>[src]
impl<'a> Clone for boolean_enums::lstd::path::Iter<'a>ⓘImportant traits for Iter<'a>
fn clone(&self) -> Iter<'a> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a> Clone for CharSearcher<'a>[src]
impl<'a> Clone for CharSearcher<'a>fn clone(&self) -> CharSearcher<'a> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a> Clone for Lines<'a>[src]
impl<'a> Clone for Lines<'a>ⓘImportant traits for Lines<'a>
fn clone(&self) -> Lines<'a> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a> Clone for CharIndices<'a>[src]
impl<'a> Clone for CharIndices<'a>ⓘImportant traits for CharIndices<'a>
fn clone(&self) -> CharIndices<'a> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a> Clone for Chars<'a>[src]
impl<'a> Clone for Chars<'a>ⓘImportant traits for Chars<'a>
fn clone(&self) -> Chars<'a> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a> Clone for SplitAsciiWhitespace<'a>[src]
impl<'a> Clone for SplitAsciiWhitespace<'a>ⓘImportant traits for SplitAsciiWhitespace<'a>
fn clone(&self) -> SplitAsciiWhitespace<'a> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a> Clone for Bytes<'a>[src]
impl<'a> Clone for Bytes<'a>ⓘImportant traits for Bytes<'_>
fn clone(&self) -> Bytes<'a> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a> Clone for SplitWhitespace<'a>[src]
impl<'a> Clone for SplitWhitespace<'a>ⓘImportant traits for SplitWhitespace<'a>
fn clone(&self) -> SplitWhitespace<'a> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a> Clone for LinesAny<'a>[src]
impl<'a> Clone for LinesAny<'a>ⓘImportant traits for LinesAny<'a>
fn clone(&self) -> LinesAny<'a> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a> Clone for Arguments<'a>[src]
impl<'a> Clone for Arguments<'a>impl<'a> Clone for EncodeUtf16<'a>[src]
impl<'a> Clone for EncodeUtf16<'a>ⓘImportant traits for EncodeUtf16<'a>
fn clone(&self) -> EncodeUtf16<'a> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a, 'b> Clone for StrSearcher<'a, 'b>[src]
impl<'a, 'b> Clone for StrSearcher<'a, 'b>fn clone(&self) -> StrSearcher<'a, 'b> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a, 'b> Clone for CharSliceSearcher<'a, 'b>[src]
impl<'a, 'b> Clone for CharSliceSearcher<'a, 'b>fn clone(&self) -> CharSliceSearcher<'a, 'b> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a, B> Clone for Cow<'a, B> where
B: ToOwned + ?Sized, [src]
impl<'a, B> Clone for Cow<'a, B> where
B: ToOwned + ?Sized, impl<'a, F> Clone for CharPredicateSearcher<'a, F> where
F: Clone + FnMut(char) -> bool, [src]
impl<'a, F> Clone for CharPredicateSearcher<'a, F> where
F: Clone + FnMut(char) -> bool, fn clone(&self) -> CharPredicateSearcher<'a, F> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a, K> Clone for boolean_enums::lstd::collections::hash_set::Iter<'a, K>[src]
impl<'a, K> Clone for boolean_enums::lstd::collections::hash_set::Iter<'a, K>ⓘImportant traits for Iter<'a, K>
fn clone(&self) -> Iter<'a, K> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, K, V> Clone for boolean_enums::lstd::collections::hash_map::Values<'a, K, V>[src]
impl<'a, K, V> Clone for boolean_enums::lstd::collections::hash_map::Values<'a, K, V>ⓘImportant traits for Values<'a, K, V>
fn clone(&self) -> Values<'a, K, V> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, K, V> Clone for boolean_enums::lstd::collections::hash_map::Iter<'a, K, V>[src]
impl<'a, K, V> Clone for boolean_enums::lstd::collections::hash_map::Iter<'a, K, V>ⓘImportant traits for Iter<'a, K, V>
fn clone(&self) -> Iter<'a, K, V> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, K, V> Clone for boolean_enums::lstd::collections::hash_map::Keys<'a, K, V>[src]
impl<'a, K, V> Clone for boolean_enums::lstd::collections::hash_map::Keys<'a, K, V>ⓘImportant traits for Keys<'a, K, V>
fn clone(&self) -> Keys<'a, K, V> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, K, V> Clone for boolean_enums::lstd::collections::btree_map::Values<'a, K, V>[src]
impl<'a, K, V> Clone for boolean_enums::lstd::collections::btree_map::Values<'a, K, V>ⓘImportant traits for Values<'a, K, V>
fn clone(&self) -> Values<'a, K, V> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, K, V> Clone for boolean_enums::lstd::collections::btree_map::Iter<'a, K, V>[src]
impl<'a, K, V> Clone for boolean_enums::lstd::collections::btree_map::Iter<'a, K, V>ⓘImportant traits for Iter<'a, K, V>
fn clone(&self) -> Iter<'a, K, V> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, K, V> Clone for boolean_enums::lstd::collections::btree_map::Keys<'a, K, V>[src]
impl<'a, K, V> Clone for boolean_enums::lstd::collections::btree_map::Keys<'a, K, V>ⓘImportant traits for Keys<'a, K, V>
fn clone(&self) -> Keys<'a, K, V> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, K, V> Clone for boolean_enums::lstd::collections::btree_map::Range<'a, K, V>[src]
impl<'a, K, V> Clone for boolean_enums::lstd::collections::btree_map::Range<'a, K, V>ⓘImportant traits for Range<'a, K, V>
fn clone(&self) -> Range<'a, K, V> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a, P> Clone for MatchIndices<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, [src]
impl<'a, P> Clone for MatchIndices<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, ⓘImportant traits for MatchIndices<'a, P>
fn clone(&self) -> MatchIndices<'a, P> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a, P> Clone for Matches<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, [src]
impl<'a, P> Clone for Matches<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, ⓘImportant traits for Matches<'a, P>
fn clone(&self) -> Matches<'a, P> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a, P> Clone for RMatchIndices<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, [src]
impl<'a, P> Clone for RMatchIndices<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, ⓘImportant traits for RMatchIndices<'a, P>
fn clone(&self) -> RMatchIndices<'a, P> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a, P> Clone for RMatches<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, [src]
impl<'a, P> Clone for RMatches<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, ⓘImportant traits for RMatches<'a, P>
fn clone(&self) -> RMatches<'a, P> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a, P> Clone for boolean_enums::lstd::str::RSplit<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, [src]
impl<'a, P> Clone for boolean_enums::lstd::str::RSplit<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, ⓘImportant traits for RSplit<'a, P>
fn clone(&self) -> RSplit<'a, P> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, P> Clone for RSplitN<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, [src]
impl<'a, P> Clone for RSplitN<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, ⓘImportant traits for RSplitN<'a, P>
fn clone(&self) -> RSplitN<'a, P> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, P> Clone for RSplitTerminator<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, [src]
impl<'a, P> Clone for RSplitTerminator<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, ⓘImportant traits for RSplitTerminator<'a, P>
fn clone(&self) -> RSplitTerminator<'a, P> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, P> Clone for boolean_enums::lstd::str::Split<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, [src]
impl<'a, P> Clone for boolean_enums::lstd::str::Split<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, ⓘImportant traits for Split<'a, P>
fn clone(&self) -> Split<'a, P> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, P> Clone for SplitN<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, [src]
impl<'a, P> Clone for SplitN<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, ⓘImportant traits for SplitN<'a, P>
fn clone(&self) -> SplitN<'a, P> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, P> Clone for SplitTerminator<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, [src]
impl<'a, P> Clone for SplitTerminator<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, ⓘImportant traits for SplitTerminator<'a, P>
fn clone(&self) -> SplitTerminator<'a, P> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, T> Clone for RChunks<'a, T>[src]
impl<'a, T> Clone for RChunks<'a, T>ⓘImportant traits for RChunks<'a, T>
fn clone(&self) -> RChunks<'a, T> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a, T> Clone for RChunksExact<'a, T>[src]
impl<'a, T> Clone for RChunksExact<'a, T>ⓘImportant traits for RChunksExact<'a, T>
fn clone(&self) -> RChunksExact<'a, T> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a, T> Clone for boolean_enums::lstd::collections::vec_deque::Iter<'a, T>[src]
impl<'a, T> Clone for boolean_enums::lstd::collections::vec_deque::Iter<'a, T>ⓘImportant traits for Iter<'a, T>
fn clone(&self) -> Iter<'a, T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, T> Clone for boolean_enums::lstd::collections::btree_set::Iter<'a, T>[src]
impl<'a, T> Clone for boolean_enums::lstd::collections::btree_set::Iter<'a, T>ⓘImportant traits for Iter<'a, T>
fn clone(&self) -> Iter<'a, T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, T> Clone for boolean_enums::lstd::collections::btree_set::SymmetricDifference<'a, T>[src]
impl<'a, T> Clone for boolean_enums::lstd::collections::btree_set::SymmetricDifference<'a, T>ⓘImportant traits for SymmetricDifference<'a, T>
fn clone(&self) -> SymmetricDifference<'a, T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, T> Clone for boolean_enums::lstd::collections::linked_list::Iter<'a, T>[src]
impl<'a, T> Clone for boolean_enums::lstd::collections::linked_list::Iter<'a, T>ⓘImportant traits for Iter<'a, T>
fn clone(&self) -> Iter<'a, T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, T> Clone for boolean_enums::lstd::collections::btree_set::Union<'a, T>[src]
impl<'a, T> Clone for boolean_enums::lstd::collections::btree_set::Union<'a, T>ⓘImportant traits for Union<'a, T>
fn clone(&self) -> Union<'a, T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, T> Clone for boolean_enums::lstd::collections::btree_set::Intersection<'a, T>[src]
impl<'a, T> Clone for boolean_enums::lstd::collections::btree_set::Intersection<'a, T>ⓘImportant traits for Intersection<'a, T>
fn clone(&self) -> Intersection<'a, T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, T> Clone for boolean_enums::lstd::collections::binary_heap::Iter<'a, T>[src]
impl<'a, T> Clone for boolean_enums::lstd::collections::binary_heap::Iter<'a, T>ⓘImportant traits for Iter<'a, T>
fn clone(&self) -> Iter<'a, T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, T> Clone for boolean_enums::lstd::collections::btree_set::Difference<'a, T>[src]
impl<'a, T> Clone for boolean_enums::lstd::collections::btree_set::Difference<'a, T>ⓘImportant traits for Difference<'a, T>
fn clone(&self) -> Difference<'a, T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, T> Clone for boolean_enums::lstd::collections::btree_set::Range<'a, T>[src]
impl<'a, T> Clone for boolean_enums::lstd::collections::btree_set::Range<'a, T>ⓘImportant traits for Range<'a, T>
fn clone(&self) -> Range<'a, T> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a, T, P> Clone for boolean_enums::lstd::slice::RSplit<'a, T, P> where
P: Clone + FnMut(&T) -> bool,
T: 'a + Clone, [src]
impl<'a, T, P> Clone for boolean_enums::lstd::slice::RSplit<'a, T, P> where
P: Clone + FnMut(&T) -> bool,
T: 'a + Clone, ⓘImportant traits for RSplit<'a, T, P>
fn clone(&self) -> RSplit<'a, T, P> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<'a, T, S> Clone for boolean_enums::lstd::collections::hash_set::Intersection<'a, T, S>[src]
impl<'a, T, S> Clone for boolean_enums::lstd::collections::hash_set::Intersection<'a, T, S>ⓘImportant traits for Intersection<'a, T, S>
fn clone(&self) -> Intersection<'a, T, S> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, T, S> Clone for boolean_enums::lstd::collections::hash_set::SymmetricDifference<'a, T, S>[src]
impl<'a, T, S> Clone for boolean_enums::lstd::collections::hash_set::SymmetricDifference<'a, T, S>ⓘImportant traits for SymmetricDifference<'a, T, S>
fn clone(&self) -> SymmetricDifference<'a, T, S> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, T, S> Clone for boolean_enums::lstd::collections::hash_set::Union<'a, T, S>[src]
impl<'a, T, S> Clone for boolean_enums::lstd::collections::hash_set::Union<'a, T, S>ⓘImportant traits for Union<'a, T, S>
fn clone(&self) -> Union<'a, T, S> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<'a, T, S> Clone for boolean_enums::lstd::collections::hash_set::Difference<'a, T, S>[src]
impl<'a, T, S> Clone for boolean_enums::lstd::collections::hash_set::Difference<'a, T, S>ⓘImportant traits for Difference<'a, T, S>
fn clone(&self) -> Difference<'a, T, S> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<A> Clone for Repeat<A> where
A: Clone, [src]
impl<A> Clone for Repeat<A> where
A: Clone, ⓘImportant traits for Repeat<A>
fn clone(&self) -> Repeat<A> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<A> Clone for boolean_enums::lstd::option::IntoIter<A> where
A: Clone, [src]
impl<A> Clone for boolean_enums::lstd::option::IntoIter<A> where
A: Clone, ⓘImportant traits for IntoIter<A>
fn clone(&self) -> IntoIter<A> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<A, B> Clone for Chain<A, B> where
A: Clone,
B: Clone, [src]
impl<A, B> Clone for Chain<A, B> where
A: Clone,
B: Clone, ⓘImportant traits for Chain<A, B>
fn clone(&self) -> Chain<A, B> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<A, B> Clone for Zip<A, B> where
A: Clone,
B: Clone, [src]
impl<A, B> Clone for Zip<A, B> where
A: Clone,
B: Clone, ⓘImportant traits for Zip<A, B>
fn clone(&self) -> Zip<A, B> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<F> Clone for RepeatWith<F> where
F: Clone, [src]
impl<F> Clone for RepeatWith<F> where
F: Clone, ⓘImportant traits for RepeatWith<F>
fn clone(&self) -> RepeatWith<F> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<H> Clone for BuildHasherDefault<H>[src]
impl<H> Clone for BuildHasherDefault<H>fn clone(&self) -> BuildHasherDefault<H> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<I> Clone for DecodeUtf16<I> where
I: Clone + Iterator<Item = u16>, [src]
impl<I> Clone for DecodeUtf16<I> where
I: Clone + Iterator<Item = u16>, ⓘImportant traits for DecodeUtf16<I>
fn clone(&self) -> DecodeUtf16<I> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<I> Clone for Cloned<I> where
I: Clone, [src]
impl<I> Clone for Cloned<I> where
I: Clone, ⓘImportant traits for Cloned<I>
fn clone(&self) -> Cloned<I> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<I> Clone for Copied<I> where
I: Clone, [src]
impl<I> Clone for Copied<I> where
I: Clone, ⓘImportant traits for Copied<I>
fn clone(&self) -> Copied<I> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<I> Clone for Cycle<I> where
I: Clone, [src]
impl<I> Clone for Cycle<I> where
I: Clone, ⓘImportant traits for Cycle<I>
fn clone(&self) -> Cycle<I> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<I> Clone for Enumerate<I> where
I: Clone, [src]
impl<I> Clone for Enumerate<I> where
I: Clone, ⓘImportant traits for Enumerate<I>
fn clone(&self) -> Enumerate<I> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<I> Clone for Fuse<I> where
I: Clone, [src]
impl<I> Clone for Fuse<I> where
I: Clone, ⓘImportant traits for Fuse<I>
fn clone(&self) -> Fuse<I> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<I> Clone for Peekable<I> where
I: Clone + Iterator,
<I as Iterator>::Item: Clone, [src]
impl<I> Clone for Peekable<I> where
I: Clone + Iterator,
<I as Iterator>::Item: Clone, ⓘImportant traits for Peekable<I>
fn clone(&self) -> Peekable<I> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<I> Clone for Skip<I> where
I: Clone, [src]
impl<I> Clone for Skip<I> where
I: Clone, ⓘImportant traits for Skip<I>
fn clone(&self) -> Skip<I> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<I> Clone for StepBy<I> where
I: Clone, [src]
impl<I> Clone for StepBy<I> where
I: Clone, ⓘImportant traits for StepBy<I>
fn clone(&self) -> StepBy<I> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<I> Clone for Take<I> where
I: Clone, [src]
impl<I> Clone for Take<I> where
I: Clone, ⓘImportant traits for Take<I>
fn clone(&self) -> Take<I> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<I, F> Clone for FilterMap<I, F> where
F: Clone,
I: Clone, [src]
impl<I, F> Clone for FilterMap<I, F> where
F: Clone,
I: Clone, ⓘImportant traits for FilterMap<I, F>
fn clone(&self) -> FilterMap<I, F> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<I, F> Clone for Inspect<I, F> where
F: Clone,
I: Clone, [src]
impl<I, F> Clone for Inspect<I, F> where
F: Clone,
I: Clone, ⓘImportant traits for Inspect<I, F>
fn clone(&self) -> Inspect<I, F> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<I, F> Clone for Map<I, F> where
F: Clone,
I: Clone, [src]
impl<I, F> Clone for Map<I, F> where
F: Clone,
I: Clone, ⓘImportant traits for Map<I, F>
fn clone(&self) -> Map<I, F> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<I, P> Clone for Filter<I, P> where
I: Clone,
P: Clone, [src]
impl<I, P> Clone for Filter<I, P> where
I: Clone,
P: Clone, ⓘImportant traits for Filter<I, P>
fn clone(&self) -> Filter<I, P> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<I, P> Clone for SkipWhile<I, P> where
I: Clone,
P: Clone, [src]
impl<I, P> Clone for SkipWhile<I, P> where
I: Clone,
P: Clone, ⓘImportant traits for SkipWhile<I, P>
fn clone(&self) -> SkipWhile<I, P> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<I, P> Clone for TakeWhile<I, P> where
I: Clone,
P: Clone, [src]
impl<I, P> Clone for TakeWhile<I, P> where
I: Clone,
P: Clone, ⓘImportant traits for TakeWhile<I, P>
fn clone(&self) -> TakeWhile<I, P> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<I, St, F> Clone for Scan<I, St, F> where
F: Clone,
I: Clone,
St: Clone, [src]
impl<I, St, F> Clone for Scan<I, St, F> where
F: Clone,
I: Clone,
St: Clone, ⓘImportant traits for Scan<I, St, F>
fn clone(&self) -> Scan<I, St, F> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<I, U> Clone for Flatten<I> where
I: Iterator + Clone,
U: Iterator + Clone,
<I as Iterator>::Item: IntoIterator,
<<I as Iterator>::Item as IntoIterator>::IntoIter == U,
<<I as Iterator>::Item as IntoIterator>::Item == <U as Iterator>::Item, [src]
impl<I, U> Clone for Flatten<I> where
I: Iterator + Clone,
U: Iterator + Clone,
<I as Iterator>::Item: IntoIterator,
<<I as Iterator>::Item as IntoIterator>::IntoIter == U,
<<I as Iterator>::Item as IntoIterator>::Item == <U as Iterator>::Item, ⓘImportant traits for Flatten<I>
fn clone(&self) -> Flatten<I> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<I, U, F> Clone for FlatMap<I, U, F> where
F: Clone,
I: Clone,
U: Clone + IntoIterator,
<U as IntoIterator>::IntoIter: Clone, [src]
impl<I, U, F> Clone for FlatMap<I, U, F> where
F: Clone,
I: Clone,
U: Clone + IntoIterator,
<U as IntoIterator>::IntoIter: Clone, ⓘImportant traits for FlatMap<I, U, F>
fn clone(&self) -> FlatMap<I, U, F> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<Idx> Clone for boolean_enums::lstd::ops::Range<Idx> where
Idx: Clone, [src]
impl<Idx> Clone for boolean_enums::lstd::ops::Range<Idx> where
Idx: Clone, ⓘImportant traits for Range<A>
fn clone(&self) -> Range<Idx> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<Idx> Clone for RangeFrom<Idx> where
Idx: Clone, [src]
impl<Idx> Clone for RangeFrom<Idx> where
Idx: Clone, ⓘImportant traits for RangeFrom<A>
fn clone(&self) -> RangeFrom<Idx> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<Idx> Clone for RangeInclusive<Idx> where
Idx: Clone, [src]
impl<Idx> Clone for RangeInclusive<Idx> where
Idx: Clone, ⓘImportant traits for RangeInclusive<A>
fn clone(&self) -> RangeInclusive<Idx> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<Idx> Clone for RangeTo<Idx> where
Idx: Clone, [src]
impl<Idx> Clone for RangeTo<Idx> where
Idx: Clone, impl<Idx> Clone for RangeToInclusive<Idx> where
Idx: Clone, [src]
impl<Idx> Clone for RangeToInclusive<Idx> where
Idx: Clone, fn clone(&self) -> RangeToInclusive<Idx> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<K, V> Clone for BTreeMap<K, V> where
K: Clone,
V: Clone, [src]
impl<K, V> Clone for BTreeMap<K, V> where
K: Clone,
V: Clone, impl<K, V, S> Clone for HashMap<K, V, S> where
K: Clone,
S: Clone,
V: Clone, [src]
impl<K, V, S> Clone for HashMap<K, V, S> where
K: Clone,
S: Clone,
V: Clone, impl<P> Clone for Pin<P> where
P: Clone, [src]
impl<P> Clone for Pin<P> where
P: Clone, impl<St, F> Clone for Unfold<St, F> where
F: Clone,
St: Clone, [src]
impl<St, F> Clone for Unfold<St, F> where
F: Clone,
St: Clone, ⓘImportant traits for Unfold<St, F>
fn clone(&self) -> Unfold<St, F> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<T> Clone for SyncSender<T>[src]
impl<T> Clone for SyncSender<T>fn clone(&self) -> SyncSender<T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<T> Clone for Sender<T>[src]
impl<T> Clone for Sender<T>impl<T> Clone for Empty<T>[src]
impl<T> Clone for Empty<T>ⓘImportant traits for Empty<T>
fn clone(&self) -> Empty<T> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<T> Clone for Discriminant<T>[src]
impl<T> Clone for Discriminant<T>fn clone(&self) -> Discriminant<T> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<T> Clone for Bound<T> where
T: Clone, [src]
impl<T> Clone for Bound<T> where
T: Clone, impl<T> Clone for Option<T> where
T: Clone, [src]
impl<T> Clone for Option<T> where
T: Clone, impl<T> Clone for TrySendError<T> where
T: Clone, [src]
impl<T> Clone for TrySendError<T> where
T: Clone, fn clone(&self) -> TrySendError<T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<T> Clone for Poll<T> where
T: Clone, [src]
impl<T> Clone for Poll<T> where
T: Clone, impl<T> Clone for Cell<T> where
T: Copy, [src]
impl<T> Clone for Cell<T> where
T: Copy, impl<T> Clone for RefCell<T> where
T: Clone, [src]
impl<T> Clone for RefCell<T> where
T: Clone, fn clone(&self) -> RefCell<T> | [src] |
Panics
Panics if the value is currently mutably borrowed.
fn clone_from(&mut self, source: &Self) | [src] |
impl<T> Clone for Reverse<T> where
T: Clone, [src]
impl<T> Clone for Reverse<T> where
T: Clone, impl<T> Clone for BinaryHeap<T> where
T: Clone, [src]
impl<T> Clone for BinaryHeap<T> where
T: Clone, fn clone(&self) -> BinaryHeap<T> | [src] |
fn clone_from(&mut self, source: &BinaryHeap<T>) | [src] |
impl<T> Clone for boolean_enums::lstd::collections::binary_heap::IntoIter<T> where
T: Clone, [src]
impl<T> Clone for boolean_enums::lstd::collections::binary_heap::IntoIter<T> where
T: Clone, ⓘImportant traits for IntoIter<T>
fn clone(&self) -> IntoIter<T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<T> Clone for BTreeSet<T> where
T: Clone, [src]
impl<T> Clone for BTreeSet<T> where
T: Clone, impl<T> Clone for boolean_enums::lstd::collections::linked_list::IntoIter<T> where
T: Clone, [src]
impl<T> Clone for boolean_enums::lstd::collections::linked_list::IntoIter<T> where
T: Clone, ⓘImportant traits for IntoIter<T>
fn clone(&self) -> IntoIter<T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<T> Clone for LinkedList<T> where
T: Clone, [src]
impl<T> Clone for LinkedList<T> where
T: Clone, fn clone(&self) -> LinkedList<T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<T> Clone for boolean_enums::lstd::collections::vec_deque::IntoIter<T> where
T: Clone, [src]
impl<T> Clone for boolean_enums::lstd::collections::vec_deque::IntoIter<T> where
T: Clone, ⓘImportant traits for IntoIter<T>
fn clone(&self) -> IntoIter<T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<T> Clone for VecDeque<T> where
T: Clone, [src]
impl<T> Clone for VecDeque<T> where
T: Clone, impl<T> Clone for Cursor<T> where
T: Clone, [src]
impl<T> Clone for Cursor<T> where
T: Clone, impl<T> Clone for Once<T> where
T: Clone, [src]
impl<T> Clone for Once<T> where
T: Clone, ⓘImportant traits for Once<T>
fn clone(&self) -> Once<T> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<T> Clone for Rev<T> where
T: Clone, [src]
impl<T> Clone for Rev<T> where
T: Clone, ⓘImportant traits for Rev<I>
fn clone(&self) -> Rev<T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<T> Clone for PhantomData<T> where
T: ?Sized, [src]
impl<T> Clone for PhantomData<T> where
T: ?Sized, fn clone(&self) -> PhantomData<T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<T> Clone for ManuallyDrop<T> where
T: Clone + ?Sized, [src]
impl<T> Clone for ManuallyDrop<T> where
T: Clone + ?Sized, fn clone(&self) -> ManuallyDrop<T> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<T> Clone for Wrapping<T> where
T: Clone, [src]
impl<T> Clone for Wrapping<T> where
T: Clone, impl<T> Clone for Box<[T]> where
T: Clone, [src]
impl<T> Clone for Box<[T]> where
T: Clone, ⓘImportant traits for Box<W>
fn clone(&self) -> Box<[T]> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<T> Clone for Box<T> where
T: Clone, [src]
impl<T> Clone for Box<T> where
T: Clone, ⓘImportant traits for Box<W>
fn clone(&self) -> Box<T> | [src] |
Returns a new box with a clone() of this box's contents.
Examples
let x = Box::new(5); let y = x.clone();
fn clone_from(&mut self, source: &Box<T>) | [src] |
Copies source's contents into self without creating a new allocation.
Examples
let x = Box::new(5); let mut y = Box::new(10); y.clone_from(&x); assert_eq!(*y, 5);
impl<T> Clone for Vec<T> where
T: Clone, [src]
impl<T> Clone for Vec<T> where
T: Clone, impl<T> Clone for NonNull<T> where
T: ?Sized, [src]
impl<T> Clone for NonNull<T> where
T: ?Sized, impl<T> Clone for Rc<T> where
T: ?Sized, [src]
impl<T> Clone for Rc<T> where
T: ?Sized, fn clone(&self) -> Rc<T> | [src] |
Makes a clone of the Rc pointer.
This creates another pointer to the same inner value, increasing the strong reference count.
Examples
use std::rc::Rc; let five = Rc::new(5); let _ = Rc::clone(&five);
fn clone_from(&mut self, source: &Self) | [src] |
impl<T> Clone for boolean_enums::lstd::rc::Weak<T> where
T: ?Sized, [src]
impl<T> Clone for boolean_enums::lstd::rc::Weak<T> where
T: ?Sized, fn clone(&self) -> Weak<T> | [src] |
Makes a clone of the Weak pointer that points to the same value.
Examples
use std::rc::{Rc, Weak}; let weak_five = Rc::downgrade(&Rc::new(5)); let _ = Weak::clone(&weak_five);
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<T> Clone for boolean_enums::lstd::result::IntoIter<T> where
T: Clone, [src]
impl<T> Clone for boolean_enums::lstd::result::IntoIter<T> where
T: Clone, ⓘImportant traits for IntoIter<T>
fn clone(&self) -> IntoIter<T> | [src] |
fn clone_from(&mut self, source: &Self) | [src] |
impl<T> Clone for SendError<T> where
T: Clone, [src]
impl<T> Clone for SendError<T> where
T: Clone, impl<T> Clone for Arc<T> where
T: ?Sized, [src]
impl<T> Clone for Arc<T> where
T: ?Sized, fn clone(&self) -> Arc<T> | [src] |
Makes a clone of the Arc pointer.
This creates another pointer to the same inner value, increasing the strong reference count.
Examples
use std::sync::Arc; let five = Arc::new(5); let _ = Arc::clone(&five);
fn clone_from(&mut self, source: &Self) | [src] |
impl<T> Clone for boolean_enums::lstd::sync::Weak<T> where
T: ?Sized, [src]
impl<T> Clone for boolean_enums::lstd::sync::Weak<T> where
T: ?Sized, fn clone(&self) -> Weak<T> | [src] |
Makes a clone of the Weak pointer that points to the same value.
Examples
use std::sync::{Arc, Weak}; let weak_five = Arc::downgrade(&Arc::new(5)); let _ = Weak::clone(&weak_five);
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<T> Clone for boolean_enums::lstd::vec::IntoIter<T> where
T: Clone, [src]
impl<T> Clone for boolean_enums::lstd::vec::IntoIter<T> where
T: Clone, ⓘImportant traits for IntoIter<T>
fn clone(&self) -> IntoIter<T> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<T, E> Clone for Result<T, E> where
E: Clone,
T: Clone, [src]
impl<T, E> Clone for Result<T, E> where
E: Clone,
T: Clone, impl<T, F> Clone for Successors<T, F> where
F: Clone,
T: Clone, [src]
impl<T, F> Clone for Successors<T, F> where
F: Clone,
T: Clone, ⓘImportant traits for Successors<T, F>
fn clone(&self) -> Successors<T, F> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
impl<T, S> Clone for HashSet<T, S> where
S: Clone,
T: Clone, [src]
impl<T, S> Clone for HashSet<T, S> where
S: Clone,
T: Clone, impl<Y, R> Clone for GeneratorState<Y, R> where
R: Clone,
Y: Clone, [src]
impl<Y, R> Clone for GeneratorState<Y, R> where
R: Clone,
Y: Clone, fn clone(&self) -> GeneratorState<Y, R> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |