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 derive
d
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 derive
d, 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
Clone
themselves. 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 TryFromSliceError
[src]
impl Clone for TryFromSliceError
fn clone(&self) -> TryFromSliceError
[src]
fn clone(&self) -> TryFromSliceError
fn 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::Ordering
impl Clone for CollectionAllocErr
[src]
impl Clone for CollectionAllocErr
fn clone(&self) -> CollectionAllocErr
[src]
fn clone(&self) -> CollectionAllocErr
fn 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 VarError
impl Clone for ErrorKind
[src]
impl Clone for ErrorKind
impl Clone for SeekFrom
[src]
impl Clone for SeekFrom
impl Clone for IpAddr
[src]
impl Clone for IpAddr
impl Clone for Ipv6MulticastScope
[src]
impl Clone for Ipv6MulticastScope
fn clone(&self) -> Ipv6MulticastScope
[src]
fn clone(&self) -> Ipv6MulticastScope
fn 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 Shutdown
impl Clone for std::net::SocketAddr
[src]
impl Clone for std::net::SocketAddr
fn clone(&self) -> SocketAddr
[src]
fn clone(&self) -> SocketAddr
fn clone_from(&mut self, source: &Self)
[src]
fn clone_from(&mut self, source: &Self)
impl Clone for FpCategory
[src]
impl Clone for FpCategory
fn clone(&self) -> FpCategory
[src]
fn clone(&self) -> FpCategory
fn clone_from(&mut self, source: &Self)
[src]
fn clone_from(&mut self, source: &Self)
impl Clone for SearchStep
[src]
impl Clone for SearchStep
fn clone(&self) -> SearchStep
[src]
fn clone(&self) -> SearchStep
fn 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 ParseError
fn clone(&self) -> ParseError
[src]
fn clone(&self) -> ParseError
fn 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::Ordering
impl Clone for RecvTimeoutError
[src]
impl Clone for RecvTimeoutError
fn clone(&self) -> RecvTimeoutError
[src]
fn clone(&self) -> RecvTimeoutError
fn 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 TryRecvError
fn clone(&self) -> TryRecvError
[src]
fn clone(&self) -> TryRecvError
fn clone_from(&mut self, source: &Self)
[src]
fn clone_from(&mut self, source: &Self)
impl Clone for bool
[src]
impl Clone for bool
impl Clone for char
[src]
impl Clone for char
impl Clone for f32
[src]
impl Clone for f32
impl Clone for f64
[src]
impl Clone for f64
impl Clone for i128
[src]
impl Clone for i128
impl Clone for i16
[src]
impl Clone for i16
impl Clone for i32
[src]
impl Clone for i32
impl Clone for i64
[src]
impl Clone for i64
impl Clone for i8
[src]
impl Clone for i8
impl Clone for isize
[src]
impl Clone for isize
impl Clone for !
[src]
impl Clone for !
impl Clone for u128
[src]
impl Clone for u128
impl Clone for u16
[src]
impl Clone for u16
impl Clone for u32
[src]
impl Clone for u32
impl Clone for u64
[src]
impl Clone for u64
impl Clone for u8
[src]
impl Clone for u8
impl Clone for usize
[src]
impl Clone for usize
impl Clone for AllocErr
[src]
impl Clone for AllocErr
impl Clone for CannotReallocInPlace
[src]
impl Clone for CannotReallocInPlace
fn clone(&self) -> CannotReallocInPlace
[src]
fn clone(&self) -> CannotReallocInPlace
fn 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 Global
impl Clone for Layout
[src]
impl Clone for Layout
impl Clone for LayoutErr
[src]
impl Clone for LayoutErr
impl Clone for TypeId
[src]
impl Clone for TypeId
impl 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) -> Self
fn 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) -> Self
fn 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) -> Self
fn 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 CharTryFromError
fn clone(&self) -> CharTryFromError
[src]
fn clone(&self) -> CharTryFromError
fn 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 DecodeUtf16Error
fn clone(&self) -> DecodeUtf16Error
[src]
fn clone(&self) -> DecodeUtf16Error
fn 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) -> EscapeDebug
fn 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) -> EscapeDefault
fn 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) -> EscapeUnicode
fn clone_from(&mut self, source: &Self)
[src]
fn clone_from(&mut self, source: &Self)
impl Clone for ParseCharError
[src]
impl Clone for ParseCharError
fn clone(&self) -> ParseCharError
[src]
fn clone(&self) -> ParseCharError
fn 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) -> ToLowercase
fn 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) -> ToUppercase
fn clone_from(&mut self, source: &Self)
[src]
fn clone_from(&mut self, source: &Self)
impl Clone for UnicodeVersion
[src]
impl Clone for UnicodeVersion
fn clone(&self) -> UnicodeVersion
[src]
fn clone(&self) -> UnicodeVersion
fn 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 DefaultHasher
fn clone(&self) -> DefaultHasher
[src]
fn clone(&self) -> DefaultHasher
fn 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 RandomState
fn clone(&self) -> RandomState
[src]
fn clone(&self) -> RandomState
fn 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 CString
impl Clone for FromBytesWithNulError
[src]
impl Clone for FromBytesWithNulError
fn clone(&self) -> FromBytesWithNulError
[src]
fn clone(&self) -> FromBytesWithNulError
fn 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 IntoStringError
fn clone(&self) -> IntoStringError
[src]
fn clone(&self) -> IntoStringError
fn 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 NulError
impl Clone for OsString
[src]
impl Clone for OsString
impl Clone for Error
[src]
impl Clone for Error
impl Clone for FileType
[src]
impl Clone for FileType
impl Clone for Metadata
[src]
impl Clone for Metadata
impl Clone for OpenOptions
[src]
impl Clone for OpenOptions
fn clone(&self) -> OpenOptions
[src]
fn clone(&self) -> OpenOptions
fn clone_from(&mut self, source: &Self)
[src]
fn clone_from(&mut self, source: &Self)
impl Clone for Permissions
[src]
impl Clone for Permissions
fn clone(&self) -> Permissions
[src]
fn clone(&self) -> Permissions
fn clone_from(&mut self, source: &Self)
[src]
fn clone_from(&mut self, source: &Self)
impl Clone for SipHasher
[src]
impl Clone for SipHasher
impl Clone for Pinned
[src]
impl Clone for Pinned
impl Clone for AddrParseError
[src]
impl Clone for AddrParseError
fn clone(&self) -> AddrParseError
[src]
fn clone(&self) -> AddrParseError
fn clone_from(&mut self, source: &Self)
[src]
fn clone_from(&mut self, source: &Self)
impl Clone for Ipv4Addr
[src]
impl Clone for Ipv4Addr
impl Clone for Ipv6Addr
[src]
impl Clone for Ipv6Addr
impl Clone for SocketAddrV4
[src]
impl Clone for SocketAddrV4
fn clone(&self) -> SocketAddrV4
[src]
fn clone(&self) -> SocketAddrV4
fn clone_from(&mut self, source: &Self)
[src]
fn clone_from(&mut self, source: &Self)
impl Clone for SocketAddrV6
[src]
impl Clone for SocketAddrV6
fn clone(&self) -> SocketAddrV6
[src]
fn clone(&self) -> SocketAddrV6
fn clone_from(&mut self, source: &Self)
[src]
fn clone_from(&mut self, source: &Self)
impl Clone for NonZeroU128
[src]
impl Clone for NonZeroU128
fn clone(&self) -> NonZeroU128
[src]
fn clone(&self) -> NonZeroU128
fn 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 NonZeroU16
fn clone(&self) -> NonZeroU16
[src]
fn clone(&self) -> NonZeroU16
fn 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 NonZeroU32
fn clone(&self) -> NonZeroU32
[src]
fn clone(&self) -> NonZeroU32
fn 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 NonZeroU64
fn clone(&self) -> NonZeroU64
[src]
fn clone(&self) -> NonZeroU64
fn 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 NonZeroU8
impl Clone for NonZeroUsize
[src]
impl Clone for NonZeroUsize
fn clone(&self) -> NonZeroUsize
[src]
fn clone(&self) -> NonZeroUsize
fn 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 ParseFloatError
fn clone(&self) -> ParseFloatError
[src]
fn clone(&self) -> ParseFloatError
fn clone_from(&mut self, source: &Self)
[src]
fn clone_from(&mut self, source: &Self)
impl Clone for ParseIntError
[src]
impl Clone for ParseIntError
fn clone(&self) -> ParseIntError
[src]
fn clone(&self) -> ParseIntError
fn clone_from(&mut self, source: &Self)
[src]
fn clone_from(&mut self, source: &Self)
impl Clone for TryFromIntError
[src]
impl Clone for TryFromIntError
fn clone(&self) -> TryFromIntError
[src]
fn clone(&self) -> TryFromIntError
fn 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 RangeFull
impl Clone for NoneError
[src]
impl Clone for NoneError
impl Clone for stat
[src]
impl Clone for stat
impl Clone for std::os::unix::net::SocketAddr
[src]
impl Clone for std::os::unix::net::SocketAddr
fn clone(&self) -> SocketAddr
[src]
fn clone(&self) -> SocketAddr
fn 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 PathBuf
impl Clone for StripPrefixError
[src]
impl Clone for StripPrefixError
fn clone(&self) -> StripPrefixError
[src]
fn clone(&self) -> StripPrefixError
fn 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 ExitCode
impl Clone for ExitStatus
[src]
impl Clone for ExitStatus
fn clone(&self) -> ExitStatus
[src]
fn clone(&self) -> ExitStatus
fn clone_from(&mut self, source: &Self)
[src]
fn clone_from(&mut self, source: &Self)
impl Clone for Output
[src]
impl Clone for Output
impl Clone for TraitObject
[src]
impl Clone for TraitObject
fn clone(&self) -> TraitObject
[src]
fn clone(&self) -> TraitObject
fn 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 ParseBoolError
fn clone(&self) -> ParseBoolError
[src]
fn clone(&self) -> ParseBoolError
fn clone_from(&mut self, source: &Self)
[src]
fn clone_from(&mut self, source: &Self)
impl Clone for Utf8Error
[src]
impl Clone for Utf8Error
impl Clone for String
[src]
impl Clone for String
impl Clone for RecvError
[src]
impl Clone for RecvError
impl Clone for WaitTimeoutResult
[src]
impl Clone for WaitTimeoutResult
fn clone(&self) -> WaitTimeoutResult
[src]
fn clone(&self) -> WaitTimeoutResult
fn 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 LocalWaker
fn clone(&self) -> LocalWaker
[src]
fn clone(&self) -> LocalWaker
fn 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 Waker
impl Clone for Thread
[src]
impl Clone for Thread
impl Clone for ThreadId
[src]
impl Clone for ThreadId
impl Clone for Duration
[src]
impl Clone for Duration
impl Clone for Instant
[src]
impl Clone for Instant
impl Clone for SystemTime
[src]
impl Clone for SystemTime
fn clone(&self) -> SystemTime
[src]
fn clone(&self) -> SystemTime
fn 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 SystemTimeError
fn clone(&self) -> SystemTimeError
[src]
fn clone(&self) -> SystemTimeError
fn clone_from(&mut self, source: &Self)
1.0.0[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<'a>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, A> Clone for std::option::Iter<'a, A>
[src]
impl<'a, A> Clone for std::option::Iter<'a, A>
ⓘImportant traits for Iter<'a, A>fn clone(&self) -> Iter<'a, A>
[src]
fn clone(&self) -> Iter<'a, A>
fn clone_from(&mut self, source: &Self)
[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 &'a T where
T: ?Sized,
[src]
impl<'a, T> Clone for &'a T where
T: ?Sized,
ⓘImportant traits for &'a mut Ifn clone(&self) -> &'a T
[src]
fn clone(&self) -> &'a T
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 std::result::Iter<'a, T>
[src]
impl<'a, T> Clone for std::result::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 Chunks<'a, T>
[src]
impl<'a, T> Clone for Chunks<'a, T>
ⓘImportant traits for Chunks<'a, T>fn clone(&self) -> Chunks<'a, T>
[src]
fn clone(&self) -> Chunks<'a, T>
fn clone_from(&mut self, source: &Self)
[src]
fn clone_from(&mut self, source: &Self)
impl<'a, T> Clone for ChunksExact<'a, T>
[src]
impl<'a, T> Clone for ChunksExact<'a, T>
ⓘImportant traits for ChunksExact<'a, T>fn clone(&self) -> ChunksExact<'a, T>
[src]
fn clone(&self) -> ChunksExact<'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::slice::Iter<'a, T>
[src]
impl<'a, T> Clone for std::slice::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 Windows<'a, T>
[src]
impl<'a, T> Clone for Windows<'a, T>
ⓘImportant traits for Windows<'a, T>fn clone(&self) -> Windows<'a, T>
[src]
fn clone(&self) -> Windows<'a, T>
fn clone_from(&mut self, source: &Self)
[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, P> Clone for std::slice::Split<'a, T, P> where
P: Clone + FnMut(&T) -> bool,
[src]
impl<'a, T, P> Clone for std::slice::Split<'a, T, P> where
P: Clone + FnMut(&T) -> bool,
ⓘImportant traits for Split<'a, T, P>fn clone(&self) -> Split<'a, T, P>
[src]
fn clone(&self) -> Split<'a, T, P>
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::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<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); 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)); 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); 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)); 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: 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)