1.0.0[−][src]Trait std::clone::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.
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 an array holding more than 32 elements of a type that is Clone; the standard
library only implements Clone up until arrays of size 32. In this case, the implementation of
Clone cannot be derived, but can be implemented as:
#[derive(Copy)] struct Stats { frequencies: [i32; 100], } impl Clone for Stats { fn clone(&self) -> Stats { *self } }Run
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
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 IntErrorKind[src]
impl Clone for IntErrorKindfn clone(&self) -> IntErrorKind[src]
fn clone(&self) -> IntErrorKindfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for TryFromSliceError[src]
impl Clone for TryFromSliceErrorfn clone(&self) -> TryFromSliceError[src]
fn clone(&self) -> TryFromSliceErrorfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Implementors
impl Clone for std::cmp::Ordering[src]
impl Clone for std::cmp::Orderingimpl Clone for CollectionAllocErr[src]
impl Clone for CollectionAllocErrfn clone(&self) -> CollectionAllocErr[src]
fn clone(&self) -> CollectionAllocErrfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for VarError[src]
impl Clone for VarErrorimpl Clone for ErrorKind[src]
impl Clone for ErrorKindimpl Clone for SeekFrom[src]
impl Clone for SeekFromimpl Clone for IpAddr[src]
impl Clone for IpAddrimpl Clone for Ipv6MulticastScope[src]
impl Clone for Ipv6MulticastScopefn clone(&self) -> Ipv6MulticastScope[src]
fn clone(&self) -> Ipv6MulticastScopefn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for Shutdown[src]
impl Clone for Shutdownimpl Clone for std::net::SocketAddr[src]
impl Clone for std::net::SocketAddrfn clone(&self) -> SocketAddr[src]
fn clone(&self) -> SocketAddrfn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl Clone for FpCategory[src]
impl Clone for FpCategoryfn clone(&self) -> FpCategory[src]
fn clone(&self) -> FpCategoryfn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl Clone for SearchStep[src]
impl Clone for SearchStepfn clone(&self) -> SearchStep[src]
fn clone(&self) -> SearchStepfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for ParseError[src]
impl Clone for ParseErrorfn clone(&self) -> ParseError[src]
fn clone(&self) -> ParseErrorfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for std::sync::atomic::Ordering[src]
impl Clone for std::sync::atomic::Orderingimpl Clone for RecvTimeoutError[src]
impl Clone for RecvTimeoutErrorfn clone(&self) -> RecvTimeoutError[src]
fn clone(&self) -> RecvTimeoutErrorfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for TryRecvError[src]
impl Clone for TryRecvErrorfn clone(&self) -> TryRecvError[src]
fn clone(&self) -> TryRecvErrorfn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl Clone for bool[src]
impl Clone for boolimpl Clone for char[src]
impl Clone for charimpl Clone for f32[src]
impl Clone for f32impl Clone for f64[src]
impl Clone for f64impl Clone for i128[src]
impl Clone for i128impl Clone for i16[src]
impl Clone for i16impl Clone for i32[src]
impl Clone for i32impl Clone for i64[src]
impl Clone for i64impl Clone for i8[src]
impl Clone for i8impl Clone for isize[src]
impl Clone for isizeimpl Clone for ![src]
impl Clone for !impl Clone for u128[src]
impl Clone for u128impl Clone for u16[src]
impl Clone for u16impl Clone for u32[src]
impl Clone for u32impl Clone for u64[src]
impl Clone for u64impl Clone for u8[src]
impl Clone for u8impl Clone for usize[src]
impl Clone for usizeimpl Clone for AllocErr[src]
impl Clone for AllocErrimpl Clone for CannotReallocInPlace[src]
impl Clone for CannotReallocInPlacefn clone(&self) -> CannotReallocInPlace[src]
fn clone(&self) -> CannotReallocInPlacefn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for Global[src]
impl Clone for Globalimpl Clone for Layout[src]
impl Clone for Layoutimpl Clone for LayoutErr[src]
impl Clone for LayoutErrimpl Clone for System[src]
impl Clone for Systemimpl Clone for TypeId[src]
impl Clone for TypeIdimpl Clone for Box<str>[src]
impl Clone for Box<str>ⓘImportant traits for Box<I>fn clone(&self) -> Box<str>[src]
fn clone(&self) -> Box<str>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for Box<CStr>[src]
impl Clone for Box<CStr>fn clone(&self) -> Self[src]
fn clone(&self) -> Selffn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for Box<OsStr>[src]
impl Clone for Box<OsStr>fn clone(&self) -> Self[src]
fn clone(&self) -> Selffn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for Box<Path>[src]
impl Clone for Box<Path>fn clone(&self) -> Self[src]
fn clone(&self) -> Selffn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for CharTryFromError[src]
impl Clone for CharTryFromErrorfn clone(&self) -> CharTryFromError[src]
fn clone(&self) -> CharTryFromErrorfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for DecodeUtf16Error[src]
impl Clone for DecodeUtf16Errorfn clone(&self) -> DecodeUtf16Error[src]
fn clone(&self) -> DecodeUtf16Errorfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for EscapeDebug[src]
impl Clone for EscapeDebugⓘImportant traits for EscapeDebugfn clone(&self) -> EscapeDebug[src]
fn clone(&self) -> EscapeDebugfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for EscapeDefault[src]
impl Clone for EscapeDefaultⓘImportant traits for EscapeDefaultfn clone(&self) -> EscapeDefault[src]
fn clone(&self) -> EscapeDefaultfn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl Clone for EscapeUnicode[src]
impl Clone for EscapeUnicodeⓘImportant traits for EscapeUnicodefn clone(&self) -> EscapeUnicode[src]
fn clone(&self) -> EscapeUnicodefn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl Clone for ParseCharError[src]
impl Clone for ParseCharErrorfn clone(&self) -> ParseCharError[src]
fn clone(&self) -> ParseCharErrorfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for ToLowercase[src]
impl Clone for ToLowercaseⓘImportant traits for ToLowercasefn clone(&self) -> ToLowercase[src]
fn clone(&self) -> ToLowercasefn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl Clone for ToUppercase[src]
impl Clone for ToUppercaseⓘImportant traits for ToUppercasefn clone(&self) -> ToUppercase[src]
fn clone(&self) -> ToUppercasefn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl Clone for UnicodeVersion[src]
impl Clone for UnicodeVersionfn clone(&self) -> UnicodeVersion[src]
fn clone(&self) -> UnicodeVersionfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for DefaultHasher[src]
impl Clone for DefaultHasherfn clone(&self) -> DefaultHasher[src]
fn clone(&self) -> DefaultHasherfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for RandomState[src]
impl Clone for RandomStatefn clone(&self) -> RandomState[src]
fn clone(&self) -> RandomStatefn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for CString[src]
impl Clone for CStringimpl Clone for FromBytesWithNulError[src]
impl Clone for FromBytesWithNulErrorfn clone(&self) -> FromBytesWithNulError[src]
fn clone(&self) -> FromBytesWithNulErrorfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for IntoStringError[src]
impl Clone for IntoStringErrorfn clone(&self) -> IntoStringError[src]
fn clone(&self) -> IntoStringErrorfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for NulError[src]
impl Clone for NulErrorimpl Clone for OsString[src]
impl Clone for OsStringimpl Clone for Error[src]
impl Clone for Errorimpl Clone for FileType[src]
impl Clone for FileTypeimpl Clone for Metadata[src]
impl Clone for Metadataimpl Clone for OpenOptions[src]
impl Clone for OpenOptionsfn clone(&self) -> OpenOptions[src]
fn clone(&self) -> OpenOptionsfn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl Clone for Permissions[src]
impl Clone for Permissionsfn clone(&self) -> Permissions[src]
fn clone(&self) -> Permissionsfn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl Clone for SipHasher[src]
impl Clone for SipHasherimpl Clone for Pinned[src]
impl Clone for Pinnedimpl Clone for AddrParseError[src]
impl Clone for AddrParseErrorfn clone(&self) -> AddrParseError[src]
fn clone(&self) -> AddrParseErrorfn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> SocketAddrV4fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl Clone for SocketAddrV6[src]
impl Clone for SocketAddrV6fn clone(&self) -> SocketAddrV6[src]
fn clone(&self) -> SocketAddrV6fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl Clone for NonZeroU128[src]
impl Clone for NonZeroU128fn clone(&self) -> NonZeroU128[src]
fn clone(&self) -> NonZeroU128fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for NonZeroU16[src]
impl Clone for NonZeroU16fn clone(&self) -> NonZeroU16[src]
fn clone(&self) -> NonZeroU16fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for NonZeroU32[src]
impl Clone for NonZeroU32fn clone(&self) -> NonZeroU32[src]
fn clone(&self) -> NonZeroU32fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for NonZeroU64[src]
impl Clone for NonZeroU64fn clone(&self) -> NonZeroU64[src]
fn clone(&self) -> NonZeroU64fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for NonZeroU8[src]
impl Clone for NonZeroU8impl Clone for NonZeroUsize[src]
impl Clone for NonZeroUsizefn clone(&self) -> NonZeroUsize[src]
fn clone(&self) -> NonZeroUsizefn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for ParseFloatError[src]
impl Clone for ParseFloatErrorfn clone(&self) -> ParseFloatError[src]
fn clone(&self) -> ParseFloatErrorfn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl Clone for ParseIntError[src]
impl Clone for ParseIntErrorfn clone(&self) -> ParseIntError[src]
fn clone(&self) -> ParseIntErrorfn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl Clone for TryFromIntError[src]
impl Clone for TryFromIntErrorfn clone(&self) -> TryFromIntError[src]
fn clone(&self) -> TryFromIntErrorfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for RangeFull[src]
impl Clone for RangeFullimpl Clone for NoneError[src]
impl Clone for NoneErrorimpl Clone for stat[src]
impl Clone for statimpl Clone for std::os::unix::net::SocketAddr[src]
impl Clone for std::os::unix::net::SocketAddrfn clone(&self) -> SocketAddr[src]
fn clone(&self) -> SocketAddrfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for PathBuf[src]
impl Clone for PathBufimpl Clone for StripPrefixError[src]
impl Clone for StripPrefixErrorfn clone(&self) -> StripPrefixError[src]
fn clone(&self) -> StripPrefixErrorfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for ExitCode[src]
impl Clone for ExitCodeimpl Clone for ExitStatus[src]
impl Clone for ExitStatusfn clone(&self) -> ExitStatus[src]
fn clone(&self) -> ExitStatusfn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl Clone for Output[src]
impl Clone for Outputimpl Clone for TraitObject[src]
impl Clone for TraitObjectfn clone(&self) -> TraitObject[src]
fn clone(&self) -> TraitObjectfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for ParseBoolError[src]
impl Clone for ParseBoolErrorfn clone(&self) -> ParseBoolError[src]
fn clone(&self) -> ParseBoolErrorfn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl Clone for Utf8Error[src]
impl Clone for Utf8Errorimpl Clone for String[src]
impl Clone for Stringimpl Clone for RecvError[src]
impl Clone for RecvErrorimpl Clone for WaitTimeoutResult[src]
impl Clone for WaitTimeoutResultfn clone(&self) -> WaitTimeoutResult[src]
fn clone(&self) -> WaitTimeoutResultfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for LocalWaker[src]
impl Clone for LocalWakerfn clone(&self) -> LocalWaker[src]
fn clone(&self) -> LocalWakerfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for Waker[src]
impl Clone for Wakerimpl Clone for Thread[src]
impl Clone for Threadimpl Clone for ThreadId[src]
impl Clone for ThreadIdimpl Clone for Duration[src]
impl Clone for Durationimpl Clone for Instant[src]
impl Clone for Instantimpl Clone for SystemTime[src]
impl Clone for SystemTimefn clone(&self) -> SystemTime[src]
fn clone(&self) -> SystemTimefn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl Clone for SystemTimeError[src]
impl Clone for SystemTimeErrorfn clone(&self) -> SystemTimeError[src]
fn clone(&self) -> SystemTimeErrorfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl<'_, A> Clone for std::option::Iter<'_, A>[src]
impl<'_, A> Clone for std::option::Iter<'_, A>ⓘImportant traits for Iter<'a, A>fn clone(&self) -> Iter<'_, A>[src]
fn clone(&self) -> Iter<'_, A>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'_, T> Clone for &'_ T where
T: ?Sized, [src]
impl<'_, T> Clone for &'_ T where
T: ?Sized, ⓘImportant traits for &'_ mut Ifn clone(&self) -> &'_ T[src]
fn clone(&self) -> &'_ Tfn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'_, T> Clone for std::result::Iter<'_, T>[src]
impl<'_, T> Clone for std::result::Iter<'_, T>ⓘImportant traits for Iter<'a, T>fn clone(&self) -> Iter<'_, T>[src]
fn clone(&self) -> Iter<'_, T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Chunks<'_, T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> ChunksExact<'_, T>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl<'_, T> Clone for std::slice::Iter<'_, T>[src]
impl<'_, T> Clone for std::slice::Iter<'_, T>ⓘImportant traits for Iter<'a, T>fn clone(&self) -> Iter<'_, T>[src]
fn clone(&self) -> Iter<'_, T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Windows<'_, T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'_, T, P> Clone for std::slice::Split<'_, T, P> where
P: Clone + FnMut(&T) -> bool, [src]
impl<'_, T, P> Clone for std::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(&self) -> Split<'_, T, P>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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 Arguments<'a>[src]
impl<'a> Clone for Arguments<'a>impl<'a> Clone for EncodeWide<'a>[src]
impl<'a> Clone for EncodeWide<'a>ⓘImportant traits for EncodeWide<'a>fn clone(&self) -> EncodeWide<'a>[src]
fn clone(&self) -> EncodeWide<'a>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Ancestors<'a>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Components<'a>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a> Clone for std::path::Iter<'a>[src]
impl<'a> Clone for std::path::Iter<'a>ⓘImportant traits for Iter<'a>fn clone(&self) -> Iter<'a>[src]
fn clone(&self) -> Iter<'a>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a> Clone for PrefixComponent<'a>[src]
impl<'a> Clone for PrefixComponent<'a>fn clone(&self) -> PrefixComponent<'a>[src]
fn clone(&self) -> PrefixComponent<'a>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a> Clone for CharSearcher<'a>[src]
impl<'a> Clone for CharSearcher<'a>fn clone(&self) -> CharSearcher<'a>[src]
fn clone(&self) -> CharSearcher<'a>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Bytes<'a>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> CharIndices<'a>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Chars<'a>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> EncodeUtf16<'a>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Lines<'a>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> LinesAny<'a>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> SplitAsciiWhitespace<'a>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> SplitWhitespace<'a>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> CharSliceSearcher<'a, 'b>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> StrSearcher<'a, 'b>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> CharPredicateSearcher<'a, F>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl<'a, K> Clone for std::collections::hash_set::Iter<'a, K>[src]
impl<'a, K> Clone for std::collections::hash_set::Iter<'a, K>ⓘImportant traits for Iter<'a, K>fn clone(&self) -> Iter<'a, K>[src]
fn clone(&self) -> Iter<'a, K>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, K, V> Clone for std::collections::btree_map::Iter<'a, K, V>[src]
impl<'a, K, V> Clone for std::collections::btree_map::Iter<'a, K, V>ⓘImportant traits for Iter<'a, K, V>fn clone(&self) -> Iter<'a, K, V>[src]
fn clone(&self) -> Iter<'a, K, V>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, K, V> Clone for std::collections::btree_map::Keys<'a, K, V>[src]
impl<'a, K, V> Clone for std::collections::btree_map::Keys<'a, K, V>ⓘImportant traits for Keys<'a, K, V>fn clone(&self) -> Keys<'a, K, V>[src]
fn clone(&self) -> Keys<'a, K, V>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, K, V> Clone for std::collections::btree_map::Range<'a, K, V>[src]
impl<'a, K, V> Clone for std::collections::btree_map::Range<'a, K, V>ⓘImportant traits for Range<'a, K, V>fn clone(&self) -> Range<'a, K, V>[src]
fn clone(&self) -> Range<'a, K, V>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl<'a, K, V> Clone for std::collections::btree_map::Values<'a, K, V>[src]
impl<'a, K, V> Clone for std::collections::btree_map::Values<'a, K, V>ⓘImportant traits for Values<'a, K, V>fn clone(&self) -> Values<'a, K, V>[src]
fn clone(&self) -> Values<'a, K, V>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, K, V> Clone for std::collections::hash_map::Iter<'a, K, V>[src]
impl<'a, K, V> Clone for std::collections::hash_map::Iter<'a, K, V>ⓘImportant traits for Iter<'a, K, V>fn clone(&self) -> Iter<'a, K, V>[src]
fn clone(&self) -> Iter<'a, K, V>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, K, V> Clone for std::collections::hash_map::Keys<'a, K, V>[src]
impl<'a, K, V> Clone for std::collections::hash_map::Keys<'a, K, V>ⓘImportant traits for Keys<'a, K, V>fn clone(&self) -> Keys<'a, K, V>[src]
fn clone(&self) -> Keys<'a, K, V>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, K, V> Clone for std::collections::hash_map::Values<'a, K, V>[src]
impl<'a, K, V> Clone for std::collections::hash_map::Values<'a, K, V>ⓘImportant traits for Values<'a, K, V>fn clone(&self) -> Values<'a, K, V>[src]
fn clone(&self) -> Values<'a, K, V>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> MatchIndices<'a, P>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Matches<'a, P>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> RMatchIndices<'a, P>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> RMatches<'a, P>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl<'a, P> Clone for std::str::RSplit<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, [src]
impl<'a, P> Clone for std::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(&self) -> RSplit<'a, P>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> RSplitN<'a, P>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> RSplitTerminator<'a, P>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, P> Clone for std::str::Split<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone, [src]
impl<'a, P> Clone for std::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(&self) -> Split<'a, P>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> SplitN<'a, P>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> SplitTerminator<'a, P>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, T> Clone for std::collections::binary_heap::Iter<'a, T>[src]
impl<'a, T> Clone for std::collections::binary_heap::Iter<'a, T>ⓘImportant traits for Iter<'a, T>fn clone(&self) -> Iter<'a, T>[src]
fn clone(&self) -> Iter<'a, T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, T> Clone for std::collections::btree_set::Difference<'a, T>[src]
impl<'a, T> Clone for std::collections::btree_set::Difference<'a, T>ⓘImportant traits for Difference<'a, T>fn clone(&self) -> Difference<'a, T>[src]
fn clone(&self) -> Difference<'a, T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, T> Clone for std::collections::btree_set::Intersection<'a, T>[src]
impl<'a, T> Clone for std::collections::btree_set::Intersection<'a, T>ⓘImportant traits for Intersection<'a, T>fn clone(&self) -> Intersection<'a, T>[src]
fn clone(&self) -> Intersection<'a, T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, T> Clone for std::collections::btree_set::Iter<'a, T>[src]
impl<'a, T> Clone for std::collections::btree_set::Iter<'a, T>ⓘImportant traits for Iter<'a, T>fn clone(&self) -> Iter<'a, T>[src]
fn clone(&self) -> Iter<'a, T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, T> Clone for std::collections::btree_set::Range<'a, T>[src]
impl<'a, T> Clone for std::collections::btree_set::Range<'a, T>ⓘImportant traits for Range<'a, T>fn clone(&self) -> Range<'a, T>[src]
fn clone(&self) -> Range<'a, T>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl<'a, T> Clone for std::collections::btree_set::SymmetricDifference<'a, T>[src]
impl<'a, T> Clone for std::collections::btree_set::SymmetricDifference<'a, T>ⓘImportant traits for SymmetricDifference<'a, T>fn clone(&self) -> SymmetricDifference<'a, T>[src]
fn clone(&self) -> SymmetricDifference<'a, T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, T> Clone for std::collections::btree_set::Union<'a, T>[src]
impl<'a, T> Clone for std::collections::btree_set::Union<'a, T>ⓘImportant traits for Union<'a, T>fn clone(&self) -> Union<'a, T>[src]
fn clone(&self) -> Union<'a, T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, T> Clone for std::collections::linked_list::Iter<'a, T>[src]
impl<'a, T> Clone for std::collections::linked_list::Iter<'a, T>ⓘImportant traits for Iter<'a, T>fn clone(&self) -> Iter<'a, T>[src]
fn clone(&self) -> Iter<'a, T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, T> Clone for std::collections::vec_deque::Iter<'a, T>[src]
impl<'a, T> Clone for std::collections::vec_deque::Iter<'a, T>ⓘImportant traits for Iter<'a, T>fn clone(&self) -> Iter<'a, T>[src]
fn clone(&self) -> Iter<'a, T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> RChunks<'a, T>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> RChunksExact<'a, T>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl<'a, T, P> Clone for std::slice::RSplit<'a, T, P> where
P: Clone + FnMut(&T) -> bool,
T: 'a + Clone, [src]
impl<'a, T, P> Clone for std::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(&self) -> RSplit<'a, T, P>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl<'a, T, S> Clone for std::collections::hash_set::Difference<'a, T, S>[src]
impl<'a, T, S> Clone for std::collections::hash_set::Difference<'a, T, S>ⓘImportant traits for Difference<'a, T, S>fn clone(&self) -> Difference<'a, T, S>[src]
fn clone(&self) -> Difference<'a, T, S>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, T, S> Clone for std::collections::hash_set::Intersection<'a, T, S>[src]
impl<'a, T, S> Clone for std::collections::hash_set::Intersection<'a, T, S>ⓘImportant traits for Intersection<'a, T, S>fn clone(&self) -> Intersection<'a, T, S>[src]
fn clone(&self) -> Intersection<'a, T, S>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, T, S> Clone for std::collections::hash_set::SymmetricDifference<'a, T, S>[src]
impl<'a, T, S> Clone for std::collections::hash_set::SymmetricDifference<'a, T, S>ⓘImportant traits for SymmetricDifference<'a, T, S>fn clone(&self) -> SymmetricDifference<'a, T, S>[src]
fn clone(&self) -> SymmetricDifference<'a, T, S>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<'a, T, S> Clone for std::collections::hash_set::Union<'a, T, S>[src]
impl<'a, T, S> Clone for std::collections::hash_set::Union<'a, T, S>ⓘImportant traits for Union<'a, T, S>fn clone(&self) -> Union<'a, T, S>[src]
fn clone(&self) -> Union<'a, T, S>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Repeat<A>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<A> Clone for std::option::IntoIter<A> where
A: Clone, [src]
impl<A> Clone for std::option::IntoIter<A> where
A: Clone, ⓘImportant traits for IntoIter<A>fn clone(&self) -> IntoIter<A>[src]
fn clone(&self) -> IntoIter<A>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Chain<A, B>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Zip<A, B>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> RepeatWith<F>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl<H> Clone for BuildHasherDefault<H>[src]
impl<H> Clone for BuildHasherDefault<H>fn clone(&self) -> BuildHasherDefault<H>[src]
fn clone(&self) -> BuildHasherDefault<H>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> DecodeUtf16<I>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Cloned<I>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Cycle<I>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Enumerate<I>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Fuse<I>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Peekable<I>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Skip<I>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> StepBy<I>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Take<I>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> FilterMap<I, F>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Inspect<I, F>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Map<I, F>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Filter<I, P>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> SkipWhile<I, P>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> TakeWhile<I, P>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Scan<I, St, F>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Flatten<I>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> FlatMap<I, U, F>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<Idx> Clone for std::ops::Range<Idx> where
Idx: Clone, [src]
impl<Idx> Clone for std::ops::Range<Idx> where
Idx: Clone, ⓘImportant traits for Range<A>fn clone(&self) -> Range<Idx>[src]
fn clone(&self) -> Range<Idx>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> RangeFrom<Idx>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> RangeInclusive<Idx>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> RangeToInclusive<Idx>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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: Clone, V: Clone, S: Clone> Clone for HashMap<K, V, S>[src]
impl<K: Clone, V: Clone, S: Clone> Clone for HashMap<K, V, S>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(&self) -> Unfold<St, F>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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 Poll<T> where
T: Clone, [src]
impl<T> Clone for Poll<T> where
T: Clone, impl<T> Clone for *const T where
T: ?Sized, [src]
impl<T> Clone for *const T where
T: ?Sized, impl<T> Clone for *mut T where
T: ?Sized, [src]
impl<T> Clone for *mut T where
T: ?Sized, impl<T> Clone for Box<[T]> where
T: Clone, [src]
impl<T> Clone for Box<[T]> where
T: Clone, ⓘImportant traits for Box<I>fn clone(&self) -> Box<[T]>[src]
fn clone(&self) -> Box<[T]>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl<T> Clone for Box<T> where
T: Clone, [src]
impl<T> Clone for Box<T> where
T: Clone, ⓘImportant traits for Box<I>fn clone(&self) -> Box<T>[src]
fn clone(&self) -> Box<T>Returns a new box with a clone() of this box's contents.
Examples
let x = Box::new(5); let y = x.clone();Run
fn clone_from(&mut self, source: &Box<T>)[src]
fn clone_from(&mut self, source: &Box<T>)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]
fn clone(&self) -> RefCell<T>Panics
Panics if the value is currently mutably borrowed.
fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> BinaryHeap<T>fn clone_from(&mut self, source: &BinaryHeap<T>)[src]
fn clone_from(&mut self, source: &BinaryHeap<T>)impl<T> Clone for std::collections::binary_heap::IntoIter<T> where
T: Clone, [src]
impl<T> Clone for std::collections::binary_heap::IntoIter<T> where
T: Clone, ⓘImportant traits for IntoIter<T>fn clone(&self) -> IntoIter<T>[src]
fn clone(&self) -> IntoIter<T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<T> Clone for BTreeSet<T> where
T: Clone, [src]
impl<T> Clone for BTreeSet<T> where
T: Clone, impl<T> Clone for std::collections::linked_list::IntoIter<T> where
T: Clone, [src]
impl<T> Clone for std::collections::linked_list::IntoIter<T> where
T: Clone, ⓘImportant traits for IntoIter<T>fn clone(&self) -> IntoIter<T>[src]
fn clone(&self) -> IntoIter<T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> LinkedList<T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<T> Clone for std::collections::vec_deque::IntoIter<T> where
T: Clone, [src]
impl<T> Clone for std::collections::vec_deque::IntoIter<T> where
T: Clone, ⓘImportant traits for IntoIter<T>fn clone(&self) -> IntoIter<T>[src]
fn clone(&self) -> IntoIter<T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<T> Clone for VecDeque<T> where
T: Clone, [src]
impl<T> Clone for VecDeque<T> where
T: Clone, 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(&self) -> Empty<T>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Once<T>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> Rev<T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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(&self) -> PhantomData<T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<T> Clone for Discriminant<T>[src]
impl<T> Clone for Discriminant<T>fn clone(&self) -> Discriminant<T>[src]
fn clone(&self) -> Discriminant<T>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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(&self) -> ManuallyDrop<T>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl<T> Clone for Wrapping<T> where
T: Clone, [src]
impl<T> Clone for Wrapping<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]
fn clone(&self) -> Rc<T>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);Run
fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<T> Clone for std::rc::Weak<T> where
T: ?Sized, [src]
impl<T> Clone for std::rc::Weak<T> where
T: ?Sized, fn clone(&self) -> Weak<T>[src]
fn clone(&self) -> Weak<T>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);Run
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl<T> Clone for std::result::IntoIter<T> where
T: Clone, [src]
impl<T> Clone for std::result::IntoIter<T> where
T: Clone, ⓘImportant traits for IntoIter<T>fn clone(&self) -> IntoIter<T>[src]
fn clone(&self) -> IntoIter<T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<T> Clone for Sender<T>[src]
impl<T> Clone for Sender<T>impl<T> Clone for SyncSender<T>[src]
impl<T> Clone for SyncSender<T>fn clone(&self) -> SyncSender<T>[src]
fn clone(&self) -> SyncSender<T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)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]
fn clone(&self) -> Arc<T>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);Run
fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<T> Clone for std::sync::Weak<T> where
T: ?Sized, [src]
impl<T> Clone for std::sync::Weak<T> where
T: ?Sized, fn clone(&self) -> Weak<T>[src]
fn clone(&self) -> Weak<T>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);Run
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl<T> Clone for std::vec::IntoIter<T> where
T: Clone, [src]
impl<T> Clone for std::vec::IntoIter<T> where
T: Clone, ⓘImportant traits for IntoIter<T>fn clone(&self) -> IntoIter<T>[src]
fn clone(&self) -> IntoIter<T>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl<T> Clone for Vec<T> where
T: Clone, [src]
impl<T> Clone for Vec<T> where
T: Clone, 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(&self) -> Successors<T, F>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)impl<T: Clone> Clone for TrySendError<T>[src]
impl<T: Clone> Clone for TrySendError<T>fn clone(&self) -> TrySendError<T>[src]
fn clone(&self) -> TrySendError<T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<T: Clone> Clone for Cursor<T>[src]
impl<T: Clone> Clone for Cursor<T>ⓘImportant traits for Cursor<T>fn clone(&self) -> Cursor<T>[src]
fn clone(&self) -> Cursor<T>fn clone_from(&mut self, source: &Self)[src]
fn clone_from(&mut self, source: &Self)impl<T: Clone> Clone for SendError<T>[src]
impl<T: Clone> Clone for SendError<T>impl<T: Clone, S: Clone> Clone for HashSet<T, S>[src]
impl<T: Clone, S: Clone> Clone for HashSet<T, S>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(&self) -> GeneratorState<Y, R>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)