Trait frame_support::dispatch::Clone
1.0.0 ยท source ยท [−]pub trait Clone {
fn clone(&self) -> Self;
fn clone_from(&mut self, source: &Self) { ... }
}
Expand description
A common trait for the ability to explicitly duplicate an object.
Differs from Copy
in that Copy
is implicit and an inexpensive bit-wise copy, while
Clone
is always explicit and may or may not be expensive. In order to enforce
these characteristics, Rust does not allow you to reimplement Copy
, but you
may reimplement Clone
and run arbitrary code.
Since Clone
is more general than Copy
, you can automatically make anything
Copy
be Clone
as well.
Derivable
This trait can be used with #[derive]
if all fields are Clone
. The derive
d
implementation of Clone
calls clone
on each field.
For a generic struct, #[derive]
implements Clone
conditionally by adding bound Clone
on
generic parameters.
// `derive` implements Clone for Reading<T> when T is Clone.
#[derive(Clone)]
struct Reading<T> {
frequency: T,
}
How can I implement Clone
?
Types that are Copy
should have a trivial implementation of Clone
. More formally:
if T: Copy
, x: T
, and y: &T
, then let x = y.clone();
is equivalent to let x = *y;
.
Manual implementations should be careful to uphold this invariant; however, unsafe code
must not rely on it to ensure memory safety.
An example is a generic struct holding a function pointer. In this case, the
implementation of Clone
cannot be derive
d, but can be implemented as:
struct Generate<T>(fn() -> T);
impl<T> Copy for Generate<T> {}
impl<T> Clone for Generate<T> {
fn clone(&self) -> Self {
*self
}
}
Additional implementors
In addition to the implementors listed below,
the following types also implement Clone
:
- Function item types (i.e., the distinct types defined for each function)
- Function pointer types (e.g.,
fn() -> i32
) - 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
Provided methods
fn clone_from(&mut self, source: &Self)
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
sourceimpl<'_, T, S> Clone for Difference<'_, T, S>
impl<'_, T, S> Clone for Difference<'_, T, S>
pub fn clone(&self) -> Difference<'_, T, S>
sourceimpl<'_, T, S> Clone for Intersection<'_, T, S>
impl<'_, T, S> Clone for Intersection<'_, T, S>
pub fn clone(&self) -> Intersection<'_, T, S>
1.7.0 ยท sourceimpl Clone for RandomState
impl Clone for RandomState
pub fn clone(&self) -> RandomState
sourceimpl Clone for TryRecvError
impl Clone for TryRecvError
pub fn clone(&self) -> TryRecvError
sourceimpl Clone for BacktraceStyle
impl Clone for BacktraceStyle
pub fn clone(&self) -> BacktraceStyle
1.13.0 ยท sourceimpl Clone for DefaultHasher
impl Clone for DefaultHasher
pub fn clone(&self) -> DefaultHasher
sourceimpl Clone for SocketAddr
impl Clone for SocketAddr
pub fn clone(&self) -> SocketAddr
sourceimpl Clone for AddrParseError
impl Clone for AddrParseError
pub fn clone(&self) -> AddrParseError
sourceimpl<T> Clone for Sender<T>
impl<T> Clone for Sender<T>
sourcepub fn clone(&self) -> Sender<T>
pub fn clone(&self) -> Sender<T>
Clone a sender to send to other threads.
Note, be aware of the lifetime of the sender because all senders
(including the original) need to be dropped in order for
Receiver::recv
to stop blocking.
1.26.0 ยท sourceimpl Clone for AccessError
impl Clone for AccessError
pub fn clone(&self) -> AccessError
1.8.0 ยท sourceimpl Clone for SystemTimeError
impl Clone for SystemTimeError
pub fn clone(&self) -> SystemTimeError
sourceimpl Clone for OpenOptions
impl Clone for OpenOptions
pub fn clone(&self) -> OpenOptions
1.5.0 ยท sourceimpl Clone for WaitTimeoutResult
impl Clone for WaitTimeoutResult
pub fn clone(&self) -> WaitTimeoutResult
1.29.0 ยท sourceimpl Clone for Box<CStr, Global>
impl Clone for Box<CStr, Global>
pub fn clone(&self) -> Box<CStr, Global>โNotable traits for Box<R, Global>impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
sourceimpl Clone for SocketCred
impl Clone for SocketCred
pub fn clone(&self) -> SocketCred
sourceimpl<'a> Clone for Components<'a>
impl<'a> Clone for Components<'a>
pub fn clone(&self) -> Components<'a>
sourceimpl<'a> Clone for PrefixComponent<'a>
impl<'a> Clone for PrefixComponent<'a>
pub fn clone(&self) -> PrefixComponent<'a>
sourceimpl Clone for Ipv6MulticastScope
impl Clone for Ipv6MulticastScope
pub fn clone(&self) -> Ipv6MulticastScope
1.7.0 ยท sourceimpl Clone for IntoStringError
impl Clone for IntoStringError
pub fn clone(&self) -> IntoStringError
sourceimpl<T> Clone for SyncOnceCell<T> where
T: Clone,
impl<T> Clone for SyncOnceCell<T> where
T: Clone,
pub fn clone(&self) -> SyncOnceCell<T>
1.29.0 ยท sourceimpl Clone for Box<Path, Global>
impl Clone for Box<Path, Global>
pub fn clone(&self) -> Box<Path, Global>โNotable traits for Box<R, Global>impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
sourceimpl<'fd> Clone for BorrowedFd<'fd>
impl<'fd> Clone for BorrowedFd<'fd>
pub fn clone(&self) -> BorrowedFd<'fd>
1.29.0 ยท sourceimpl Clone for Box<OsStr, Global>
impl Clone for Box<OsStr, Global>
pub fn clone(&self) -> Box<OsStr, Global>โNotable traits for Box<R, Global>impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
sourceimpl Clone for Permissions
impl Clone for Permissions
pub fn clone(&self) -> Permissions
sourceimpl Clone for SocketAddrV6
impl Clone for SocketAddrV6
pub fn clone(&self) -> SocketAddrV6
1.10.0 ยท sourceimpl Clone for SocketAddr
impl Clone for SocketAddr
pub fn clone(&self) -> SocketAddr
sourceimpl<T> Clone for SyncSender<T>
impl<T> Clone for SyncSender<T>
pub fn clone(&self) -> SyncSender<T>
sourceimpl<'_, T, S> Clone for SymmetricDifference<'_, T, S>
impl<'_, T, S> Clone for SymmetricDifference<'_, T, S>
pub fn clone(&self) -> SymmetricDifference<'_, T, S>
1.10.0 ยท sourceimpl Clone for FromBytesWithNulError
impl Clone for FromBytesWithNulError
pub fn clone(&self) -> FromBytesWithNulError
1.7.0 ยท sourceimpl Clone for StripPrefixError
impl Clone for StripPrefixError
pub fn clone(&self) -> StripPrefixError
1.12.0 ยท sourceimpl Clone for RecvTimeoutError
impl Clone for RecvTimeoutError
pub fn clone(&self) -> RecvTimeoutError
sourceimpl<T> Clone for TrySendError<T> where
T: Clone,
impl<T> Clone for TrySendError<T> where
T: Clone,
pub fn clone(&self) -> TrySendError<T>
1.58.0 ยท sourceimpl Clone for FromVecWithNulError
impl Clone for FromVecWithNulError
pub fn clone(&self) -> FromVecWithNulError
1.8.0 ยท sourceimpl Clone for SystemTime
impl Clone for SystemTime
pub fn clone(&self) -> SystemTime
sourceimpl Clone for SocketAddrV4
impl Clone for SocketAddrV4
pub fn clone(&self) -> SocketAddrV4
sourceimpl Clone for ExitStatusError
impl Clone for ExitStatusError
pub fn clone(&self) -> ExitStatusError
sourceimpl Clone for ExitStatus
impl Clone for ExitStatus
pub fn clone(&self) -> ExitStatus
sourceimpl Clone for FpCategory
impl Clone for FpCategory
pub fn clone(&self) -> FpCategory
1.29.0 ยท sourceimpl<I, U> Clone for Flatten<I> where
I: Clone + Iterator,
U: Clone + Iterator,
<I as Iterator>::Item: IntoIterator,
<<I as Iterator>::Item as IntoIterator>::IntoIter == U,
<<I as Iterator>::Item as IntoIterator>::Item == <U as Iterator>::Item,
impl<I, U> Clone for Flatten<I> where
I: Clone + Iterator,
U: Clone + Iterator,
<I as Iterator>::Item: IntoIterator,
<<I as Iterator>::Item as IntoIterator>::IntoIter == U,
<<I as Iterator>::Item as IntoIterator>::Item == <U as Iterator>::Item,
1.34.0 ยท sourceimpl<'a> Clone for EscapeUnicode<'a>
impl<'a> Clone for EscapeUnicode<'a>
pub fn clone(&self) -> EscapeUnicode<'a>
1.34.0 ยท sourceimpl Clone for NonZeroI32
impl Clone for NonZeroI32
pub fn clone(&self) -> NonZeroI32
1.5.0 ยท sourceimpl<'a, P> Clone for MatchIndices<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
impl<'a, P> Clone for MatchIndices<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
pub fn clone(&self) -> MatchIndices<'a, P>
1.26.0 ยท sourceimpl<Idx> Clone for RangeToInclusive<Idx> where
Idx: Clone,
impl<Idx> Clone for RangeToInclusive<Idx> where
Idx: Clone,
pub fn clone(&self) -> RangeToInclusive<Idx>
sourceimpl<'a, P> Clone for SplitTerminator<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
impl<'a, P> Clone for SplitTerminator<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
pub fn clone(&self) -> SplitTerminator<'a, P>
1.28.0 ยท sourceimpl<F> Clone for RepeatWith<F> where
F: Clone,
impl<F> Clone for RepeatWith<F> where
F: Clone,
pub fn clone(&self) -> RepeatWith<F>
sourceimpl<'a, 'b> Clone for CharSliceSearcher<'a, 'b>
impl<'a, 'b> Clone for CharSliceSearcher<'a, 'b>
pub fn clone(&self) -> CharSliceSearcher<'a, 'b>
sourceimpl<'f> Clone for VaListImpl<'f>
impl<'f> Clone for VaListImpl<'f>
pub fn clone(&self) -> VaListImpl<'f>
1.9.0 ยท sourceimpl<I> Clone for DecodeUtf16<I> where
I: Clone + Iterator<Item = u16>,
impl<I> Clone for DecodeUtf16<I> where
I: Clone + Iterator<Item = u16>,
pub fn clone(&self) -> DecodeUtf16<I>
sourceimpl Clone for FromFloatSecsError
impl Clone for FromFloatSecsError
pub fn clone(&self) -> FromFloatSecsError
1.20.0 ยท sourceimpl Clone for EscapeDebug
impl Clone for EscapeDebug
pub fn clone(&self) -> EscapeDebug
1.28.0 ยท sourceimpl Clone for NonZeroUsize
impl Clone for NonZeroUsize
pub fn clone(&self) -> NonZeroUsize
sourceimpl Clone for EscapeDefault
impl Clone for EscapeDefault
pub fn clone(&self) -> EscapeDefault
1.34.0 ยท sourceimpl Clone for NonZeroI16
impl Clone for NonZeroI16
pub fn clone(&self) -> NonZeroI16
1.8.0 ยท sourceimpl<'a> Clone for EncodeUtf16<'a>
impl<'a> Clone for EncodeUtf16<'a>
pub fn clone(&self) -> EncodeUtf16<'a>
sourceimpl<T, const LANES: usize> Clone for Mask<T, LANES> where
T: MaskElement,
LaneCount<LANES>: SupportedLaneCount,
impl<T, const LANES: usize> Clone for Mask<T, LANES> where
T: MaskElement,
LaneCount<LANES>: SupportedLaneCount,
sourceimpl Clone for EscapeUnicode
impl Clone for EscapeUnicode
pub fn clone(&self) -> EscapeUnicode
1.20.0 ยท sourceimpl<T> Clone for ManuallyDrop<T> where
T: Clone + ?Sized,
impl<T> Clone for ManuallyDrop<T> where
T: Clone + ?Sized,
pub fn clone(&self) -> ManuallyDrop<T>
1.26.0 ยท sourceimpl<Idx> Clone for RangeInclusive<Idx> where
Idx: Clone,
impl<Idx> Clone for RangeInclusive<Idx> where
Idx: Clone,
pub fn clone(&self) -> RangeInclusive<Idx>
1.28.0 ยท sourceimpl Clone for NonZeroU128
impl Clone for NonZeroU128
pub fn clone(&self) -> NonZeroU128
sourceimpl Clone for ParseBoolError
impl Clone for ParseBoolError
pub fn clone(&self) -> ParseBoolError
1.34.0 ยท sourceimpl<'a> Clone for EscapeDebug<'a>
impl<'a> Clone for EscapeDebug<'a>
pub fn clone(&self) -> EscapeDebug<'a>
sourceimpl Clone for ToUppercase
impl Clone for ToUppercase
pub fn clone(&self) -> ToUppercase
1.1.0 ยท sourceimpl<'a> Clone for SplitWhitespace<'a>
impl<'a> Clone for SplitWhitespace<'a>
pub fn clone(&self) -> SplitWhitespace<'a>
1.34.0 ยท sourceimpl Clone for Infallible
impl Clone for Infallible
pub fn clone(&self) -> Infallible
impl<'_, T> !Clone for &'_ mut T where
T: ?Sized,
Shared references can be cloned, but mutable references cannot!
1.34.0 ยท sourceimpl<'a> Clone for SplitAsciiWhitespace<'a>
impl<'a> Clone for SplitAsciiWhitespace<'a>
pub fn clone(&self) -> SplitAsciiWhitespace<'a>
sourceimpl Clone for EscapeDefault
impl Clone for EscapeDefault
pub fn clone(&self) -> EscapeDefault
1.2.0 ยท sourceimpl<'a, P> Clone for RMatches<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
impl<'a, P> Clone for RMatches<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
1.36.0 ยท sourceimpl<T> Clone for MaybeUninit<T> where
T: Copy,
impl<T> Clone for MaybeUninit<T> where
T: Copy,
pub fn clone(&self) -> MaybeUninit<T>
1.34.0 ยท sourceimpl Clone for CharTryFromError
impl Clone for CharTryFromError
pub fn clone(&self) -> CharTryFromError
1.5.0 ยท sourceimpl<'a, P> Clone for RMatchIndices<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
impl<'a, P> Clone for RMatchIndices<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
pub fn clone(&self) -> RMatchIndices<'a, P>
1.34.0 ยท sourceimpl<'a> Clone for EscapeDefault<'a>
impl<'a> Clone for EscapeDefault<'a>
pub fn clone(&self) -> EscapeDefault<'a>
sourceimpl Clone for AllocError
impl Clone for AllocError
pub fn clone(&self) -> AllocError
1.9.0 ยท sourceimpl Clone for DecodeUtf16Error
impl Clone for DecodeUtf16Error
pub fn clone(&self) -> DecodeUtf16Error
sourceimpl<'a, P> Clone for RSplitN<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
impl<'a, P> Clone for RSplitN<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
1.59.0 ยท sourceimpl Clone for TryFromCharError
impl Clone for TryFromCharError
pub fn clone(&self) -> TryFromCharError
1.28.0 ยท sourceimpl Clone for NonZeroU16
impl Clone for NonZeroU16
pub fn clone(&self) -> NonZeroU16
sourceimpl Clone for SearchStep
impl Clone for SearchStep
pub fn clone(&self) -> SearchStep
1.60.0 ยท sourceimpl<'a> Clone for EscapeAscii<'a>
impl<'a> Clone for EscapeAscii<'a>
pub fn clone(&self) -> EscapeAscii<'a>
sourceimpl<'a, 'b> Clone for StrSearcher<'a, 'b>
impl<'a, 'b> Clone for StrSearcher<'a, 'b>
pub fn clone(&self) -> StrSearcher<'a, 'b>
1.34.0 ยท sourceimpl Clone for NonZeroIsize
impl Clone for NonZeroIsize
pub fn clone(&self) -> NonZeroIsize
1.27.0 ยท sourceimpl Clone for CpuidResult
impl Clone for CpuidResult
pub fn clone(&self) -> CpuidResult
1.31.0 ยท sourceimpl<'_, T> Clone for ChunksExact<'_, T>
impl<'_, T> Clone for ChunksExact<'_, T>
pub fn clone(&self) -> ChunksExact<'_, T>
1.51.0 ยท sourceimpl<'_, T, P> Clone for SplitInclusive<'_, T, P> where
P: Clone + FnMut(&T) -> bool,
impl<'_, T, P> Clone for SplitInclusive<'_, T, P> where
P: Clone + FnMut(&T) -> bool,
pub fn clone(&self) -> SplitInclusive<'_, T, P>
sourceimpl<'_, T> Clone for &'_ T where
T: ?Sized,
impl<'_, T> Clone for &'_ T where
T: ?Sized,
Shared references can be cloned, but mutable references cannot!
1.36.0 ยท sourceimpl Clone for RawWakerVTable
impl Clone for RawWakerVTable
pub fn clone(&self) -> RawWakerVTable
1.34.0 ยท sourceimpl Clone for NonZeroI128
impl Clone for NonZeroI128
pub fn clone(&self) -> NonZeroI128
sourceimpl<Y, R> Clone for GeneratorState<Y, R> where
Y: Clone,
R: Clone,
impl<Y, R> Clone for GeneratorState<Y, R> where
Y: Clone,
R: Clone,
pub fn clone(&self) -> GeneratorState<Y, R>
sourceimpl Clone for ToLowercase
impl Clone for ToLowercase
pub fn clone(&self) -> ToLowercase
1.55.0 ยท sourceimpl Clone for IntErrorKind
impl Clone for IntErrorKind
pub fn clone(&self) -> IntErrorKind
sourceimpl<'_, T, const N: usize> Clone for ArrayChunks<'_, T, N>
impl<'_, T, const N: usize> Clone for ArrayChunks<'_, T, N>
pub fn clone(&self) -> ArrayChunks<'_, T, N>
sourceimpl<'a, F> Clone for CharPredicateSearcher<'a, F> where
F: Clone + FnMut(char) -> bool,
impl<'a, F> Clone for CharPredicateSearcher<'a, F> where
F: Clone + FnMut(char) -> bool,
pub fn clone(&self) -> CharPredicateSearcher<'a, F>
sourceimpl<'a, P> Clone for RSplit<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
impl<'a, P> Clone for RSplit<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
1.55.0 ยท sourceimpl<B, C> Clone for ControlFlow<B, C> where
B: Clone,
C: Clone,
impl<B, C> Clone for ControlFlow<B, C> where
B: Clone,
C: Clone,
pub fn clone(&self) -> ControlFlow<B, C>
sourceimpl<T> Clone for Saturating<T> where
T: Clone,
impl<T> Clone for Saturating<T> where
T: Clone,
pub fn clone(&self) -> Saturating<T>
1.50.0 ยท sourceimpl Clone for LayoutError
impl Clone for LayoutError
pub fn clone(&self) -> LayoutError
sourceimpl<I, U, F> Clone for FlatMap<I, U, F> where
I: Clone,
F: Clone,
U: Clone + IntoIterator,
<U as IntoIterator>::IntoIter: Clone,
impl<I, U, F> Clone for FlatMap<I, U, F> where
I: Clone,
F: Clone,
U: Clone + IntoIterator,
<U as IntoIterator>::IntoIter: Clone,
1.28.0 ยท sourceimpl Clone for NonZeroU64
impl Clone for NonZeroU64
pub fn clone(&self) -> NonZeroU64
1.2.0 ยท sourceimpl<'a, P> Clone for Matches<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
impl<'a, P> Clone for Matches<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
sourceimpl<'a> Clone for CharSearcher<'a>
impl<'a> Clone for CharSearcher<'a>
pub fn clone(&self) -> CharSearcher<'a>
sourceimpl<I> Clone for Intersperse<I> where
I: Clone + Iterator,
<I as Iterator>::Item: Clone,
<I as Iterator>::Item: Clone,
impl<I> Clone for Intersperse<I> where
I: Clone + Iterator,
<I as Iterator>::Item: Clone,
<I as Iterator>::Item: Clone,
pub fn clone(&self) -> Intersperse<I>
sourceimpl Clone for ParseIntError
impl Clone for ParseIntError
pub fn clone(&self) -> ParseIntError
sourceimpl<I, G> Clone for IntersperseWith<I, G> where
I: Iterator + Clone,
G: Clone,
<I as Iterator>::Item: Clone,
impl<I, G> Clone for IntersperseWith<I, G> where
I: Iterator + Clone,
G: Clone,
<I as Iterator>::Item: Clone,
pub fn clone(&self) -> IntersperseWith<I, G>
1.34.0 ยท sourceimpl Clone for TryFromSliceError
impl Clone for TryFromSliceError
pub fn clone(&self) -> TryFromSliceError
1.31.0 ยท sourceimpl<'a, T> Clone for RChunksExact<'a, T>
impl<'a, T> Clone for RChunksExact<'a, T>
pub fn clone(&self) -> RChunksExact<'a, T>
1.34.0 ยท sourceimpl Clone for TryFromIntError
impl Clone for TryFromIntError
pub fn clone(&self) -> TryFromIntError
1.34.0 ยท sourceimpl<T, F> Clone for Successors<T, F> where
T: Clone,
F: Clone,
impl<T, F> Clone for Successors<T, F> where
T: Clone,
F: Clone,
pub fn clone(&self) -> Successors<T, F>
sourceimpl<'a, T, const N: usize> Clone for ArrayWindows<'a, T, N> where
T: 'a + Clone,
impl<'a, T, const N: usize> Clone for ArrayWindows<'a, T, N> where
T: 'a + Clone,
pub fn clone(&self) -> ArrayWindows<'a, T, N>
sourceimpl<'a, P> Clone for RSplitTerminator<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
impl<'a, P> Clone for RSplitTerminator<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
pub fn clone(&self) -> RSplitTerminator<'a, P>
sourceimpl<'a, const N: usize> Clone for CharArraySearcher<'a, N>
impl<'a, const N: usize> Clone for CharArraySearcher<'a, N>
pub fn clone(&self) -> CharArraySearcher<'a, N>
sourceimpl<T, const LANES: usize> Clone for Simd<T, LANES> where
T: SimdElement,
LaneCount<LANES>: SupportedLaneCount,
impl<T, const LANES: usize> Clone for Simd<T, LANES> where
T: SimdElement,
LaneCount<LANES>: SupportedLaneCount,
1.20.0 ยท sourceimpl Clone for ParseCharError
impl Clone for ParseCharError
pub fn clone(&self) -> ParseCharError
sourceimpl<'a, 'b, const N: usize> Clone for CharArrayRefSearcher<'a, 'b, N>
impl<'a, 'b, const N: usize> Clone for CharArrayRefSearcher<'a, 'b, N>
pub fn clone(&self) -> CharArrayRefSearcher<'a, 'b, N>
sourceimpl<'a> Clone for CharIndices<'a>
impl<'a> Clone for CharIndices<'a>
pub fn clone(&self) -> CharIndices<'a>
1.51.0 ยท sourceimpl<'a, P> Clone for SplitInclusive<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
impl<'a, P> Clone for SplitInclusive<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
pub fn clone(&self) -> SplitInclusive<'a, P>
1.28.0 ยท sourceimpl Clone for NonZeroU32
impl Clone for NonZeroU32
pub fn clone(&self) -> NonZeroU32
1.34.0 ยท sourceimpl Clone for NonZeroI64
impl Clone for NonZeroI64
pub fn clone(&self) -> NonZeroI64
sourceimpl Clone for ParseFloatError
impl Clone for ParseFloatError
pub fn clone(&self) -> ParseFloatError
sourceimpl<Dyn> Clone for DynMetadata<Dyn> where
Dyn: ?Sized,
impl<Dyn> Clone for DynMetadata<Dyn> where
Dyn: ?Sized,
pub fn clone(&self) -> DynMetadata<Dyn>
1.7.0 ยท sourceimpl<H> Clone for BuildHasherDefault<H>
impl<H> Clone for BuildHasherDefault<H>
pub fn clone(&self) -> BuildHasherDefault<H>
sourceimpl<'a, P> Clone for SplitN<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
impl<'a, P> Clone for SplitN<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,
1.21.0 ยท sourceimpl<T> Clone for Discriminant<T>
impl<T> Clone for Discriminant<T>
pub fn clone(&self) -> Discriminant<T>
1.3.0 ยท sourceimpl<T, A> Clone for Box<[T], A> where
T: Clone,
A: Allocator + Clone,
impl<T, A> Clone for Box<[T], A> where
T: Clone,
A: Allocator + Clone,
pub fn clone(&self) -> Box<[T], A>โNotable traits for Box<R, Global>impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
pub fn clone_from(&mut self, other: &Box<[T], A>)
sourceimpl Clone for FromUtf8Error
impl Clone for FromUtf8Error
pub fn clone(&self) -> FromUtf8Error
sourceimpl<T, A> Clone for Box<T, A> where
T: Clone,
A: Allocator + Clone,
impl<T, A> Clone for Box<T, A> where
T: Clone,
A: Allocator + Clone,
sourcepub fn clone(&self) -> Box<T, A>โNotable traits for Box<R, Global>impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
pub fn clone(&self) -> Box<T, A>โNotable traits for Box<R, Global>impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
Returns a new box with a clone()
of this boxโs contents.
Examples
let x = Box::new(5);
let y = x.clone();
// The value is the same
assert_eq!(x, y);
// But they are unique objects
assert_ne!(&*x as *const i32, &*y as *const i32);
sourcepub fn clone_from(&mut self, source: &Box<T, A>)
pub fn clone_from(&mut self, source: &Box<T, A>)
Copies source
โs contents into self
without creating a new allocation.
Examples
let x = Box::new(5);
let mut y = Box::new(10);
let yp: *const i32 = &*y;
y.clone_from(&x);
// The value is the same
assert_eq!(x, y);
// And no allocation occurred
assert_eq!(yp, &*y);
sourceimpl<'_, T> Clone for SymmetricDifference<'_, T>
impl<'_, T> Clone for SymmetricDifference<'_, T>
pub fn clone(&self) -> SymmetricDifference<'_, T>
sourceimpl<'_, T> Clone for Intersection<'_, T>
impl<'_, T> Clone for Intersection<'_, T>
pub fn clone(&self) -> Intersection<'_, T>
sourceimpl<'_, T> Clone for Difference<'_, T>
impl<'_, T> Clone for Difference<'_, T>
pub fn clone(&self) -> Difference<'_, T>
sourceimpl<T> Clone for LinkedList<T> where
T: Clone,
impl<T> Clone for LinkedList<T> where
T: Clone,
pub fn clone(&self) -> LinkedList<T>
pub fn clone_from(&mut self, other: &LinkedList<T>)
1.57.0 ยท sourceimpl Clone for TryReserveError
impl Clone for TryReserveError
pub fn clone(&self) -> TryReserveError
sourceimpl<T> Clone for IntoIterSorted<T> where
T: Clone,
impl<T> Clone for IntoIterSorted<T> where
T: Clone,
pub fn clone(&self) -> IntoIterSorted<T>
sourceimpl Clone for TryReserveErrorKind
impl Clone for TryReserveErrorKind
pub fn clone(&self) -> TryReserveErrorKind
sourceimpl<T> Clone for BinaryHeap<T> where
T: Clone,
impl<T> Clone for BinaryHeap<T> where
T: Clone,
pub fn clone(&self) -> BinaryHeap<T>
pub fn clone_from(&mut self, source: &BinaryHeap<T>)
1.3.0 ยท sourceimpl Clone for Box<str, Global>
impl Clone for Box<str, Global>
pub fn clone(&self) -> Box<str, Global>โNotable traits for Box<R, Global>impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
sourceimpl Clone for _Unwind_Action
impl Clone for _Unwind_Action
pub fn clone(&self) -> _Unwind_Action
sourceimpl Clone for _Unwind_Reason_Code
impl Clone for _Unwind_Reason_Code
pub fn clone(&self) -> _Unwind_Reason_Code
sourceimpl Clone for WasmFieldName
impl Clone for WasmFieldName
pub fn clone(&self) -> WasmFieldName
sourceimpl Clone for WasmFields
impl Clone for WasmFields
pub fn clone(&self) -> WasmFields
sourceimpl Clone for WasmEntryAttributes
impl Clone for WasmEntryAttributes
pub fn clone(&self) -> WasmEntryAttributes
sourceimpl Clone for WasmMetadata
impl Clone for WasmMetadata
pub fn clone(&self) -> WasmMetadata
sourceimpl Clone for WasmValuesSet
impl Clone for WasmValuesSet
pub fn clone(&self) -> WasmValuesSet
sourceimpl Clone for OptionBool
impl Clone for OptionBool
pub fn clone(&self) -> OptionBool
sourceimpl<const CAP: usize> Clone for ArrayString<CAP>
impl<const CAP: usize> Clone for ArrayString<CAP>
pub fn clone(&self) -> ArrayString<CAP>
pub fn clone_from(&mut self, rhs: &ArrayString<CAP>)
sourceimpl<T> Clone for CapacityError<T> where
T: Clone,
impl<T> Clone for CapacityError<T> where
T: Clone,
pub fn clone(&self) -> CapacityError<T>
sourceimpl<E> Clone for U128Deserializer<E>
impl<E> Clone for U128Deserializer<E>
pub fn clone(&self) -> U128Deserializer<E>
sourceimpl<'de, E> Clone for StrDeserializer<'de, E>
impl<'de, E> Clone for StrDeserializer<'de, E>
pub fn clone(&self) -> StrDeserializer<'de, E>
sourceimpl<E> Clone for F64Deserializer<E>
impl<E> Clone for F64Deserializer<E>
pub fn clone(&self) -> F64Deserializer<E>
sourceimpl<E> Clone for U8Deserializer<E>
impl<E> Clone for U8Deserializer<E>
pub fn clone(&self) -> U8Deserializer<E>
sourceimpl<E> Clone for I64Deserializer<E>
impl<E> Clone for I64Deserializer<E>
pub fn clone(&self) -> I64Deserializer<E>
sourceimpl<'a> Clone for Unexpected<'a>
impl<'a> Clone for Unexpected<'a>
pub fn clone(&self) -> Unexpected<'a>
sourceimpl<E> Clone for U64Deserializer<E>
impl<E> Clone for U64Deserializer<E>
pub fn clone(&self) -> U64Deserializer<E>
sourceimpl<E> Clone for IsizeDeserializer<E>
impl<E> Clone for IsizeDeserializer<E>
pub fn clone(&self) -> IsizeDeserializer<E>
sourceimpl<E> Clone for I8Deserializer<E>
impl<E> Clone for I8Deserializer<E>
pub fn clone(&self) -> I8Deserializer<E>
sourceimpl<E> Clone for I32Deserializer<E>
impl<E> Clone for I32Deserializer<E>
pub fn clone(&self) -> I32Deserializer<E>
sourceimpl<E> Clone for BoolDeserializer<E>
impl<E> Clone for BoolDeserializer<E>
pub fn clone(&self) -> BoolDeserializer<E>
sourceimpl<'de, E> Clone for BorrowedBytesDeserializer<'de, E>
impl<'de, E> Clone for BorrowedBytesDeserializer<'de, E>
pub fn clone(&self) -> BorrowedBytesDeserializer<'de, E>
sourceimpl<A> Clone for SeqAccessDeserializer<A> where
A: Clone,
impl<A> Clone for SeqAccessDeserializer<A> where
A: Clone,
pub fn clone(&self) -> SeqAccessDeserializer<A>
sourceimpl<E> Clone for I128Deserializer<E>
impl<E> Clone for I128Deserializer<E>
pub fn clone(&self) -> I128Deserializer<E>
sourceimpl<'a, E> Clone for CowStrDeserializer<'a, E>
impl<'a, E> Clone for CowStrDeserializer<'a, E>
pub fn clone(&self) -> CowStrDeserializer<'a, E>
sourceimpl<E> Clone for F32Deserializer<E>
impl<E> Clone for F32Deserializer<E>
pub fn clone(&self) -> F32Deserializer<E>
sourceimpl<E> Clone for StringDeserializer<E>
impl<E> Clone for StringDeserializer<E>
pub fn clone(&self) -> StringDeserializer<E>
sourceimpl<'a, E> Clone for BytesDeserializer<'a, E>
impl<'a, E> Clone for BytesDeserializer<'a, E>
pub fn clone(&self) -> BytesDeserializer<'a, E>
sourceimpl<E> Clone for UnitDeserializer<E>
impl<E> Clone for UnitDeserializer<E>
pub fn clone(&self) -> UnitDeserializer<E>
sourceimpl<'de, I, E> Clone for MapDeserializer<'de, I, E> where
I: Iterator + Clone,
<I as Iterator>::Item: Pair,
<<I as Iterator>::Item as Pair>::Second: Clone,
impl<'de, I, E> Clone for MapDeserializer<'de, I, E> where
I: Iterator + Clone,
<I as Iterator>::Item: Pair,
<<I as Iterator>::Item as Pair>::Second: Clone,
pub fn clone(&self) -> MapDeserializer<'de, I, E>
sourceimpl<E> Clone for U32Deserializer<E>
impl<E> Clone for U32Deserializer<E>
pub fn clone(&self) -> U32Deserializer<E>
sourceimpl<E> Clone for U16Deserializer<E>
impl<E> Clone for U16Deserializer<E>
pub fn clone(&self) -> U16Deserializer<E>
sourceimpl<'de, E> Clone for BorrowedStrDeserializer<'de, E>
impl<'de, E> Clone for BorrowedStrDeserializer<'de, E>
pub fn clone(&self) -> BorrowedStrDeserializer<'de, E>
sourceimpl<A> Clone for MapAccessDeserializer<A> where
A: Clone,
impl<A> Clone for MapAccessDeserializer<A> where
A: Clone,
pub fn clone(&self) -> MapAccessDeserializer<A>
sourceimpl<I, E> Clone for SeqDeserializer<I, E> where
I: Clone,
E: Clone,
impl<I, E> Clone for SeqDeserializer<I, E> where
I: Clone,
E: Clone,
pub fn clone(&self) -> SeqDeserializer<I, E>
sourceimpl Clone for IgnoredAny
impl Clone for IgnoredAny
pub fn clone(&self) -> IgnoredAny
sourceimpl<E> Clone for UsizeDeserializer<E>
impl<E> Clone for UsizeDeserializer<E>
pub fn clone(&self) -> UsizeDeserializer<E>
sourceimpl<E> Clone for I16Deserializer<E>
impl<E> Clone for I16Deserializer<E>
pub fn clone(&self) -> I16Deserializer<E>
sourceimpl<E> Clone for CharDeserializer<E>
impl<E> Clone for CharDeserializer<E>
pub fn clone(&self) -> CharDeserializer<E>
sourceimpl Clone for Identifier
impl Clone for Identifier
pub fn clone(&self) -> Identifier
sourceimpl<T> Clone for DisplayValue<T> where
T: Clone + Display,
impl<T> Clone for DisplayValue<T> where
T: Clone + Display,
pub fn clone(&self) -> DisplayValue<T>
sourceimpl Clone for LevelFilter
impl Clone for LevelFilter
pub fn clone(&self) -> LevelFilter
sourceimpl<T> Clone for DebugValue<T> where
T: Clone + Debug,
impl<T> Clone for DebugValue<T> where
T: Clone + Debug,
pub fn clone(&self) -> DebugValue<T>
sourceimpl Clone for ParseLevelFilterError
impl Clone for ParseLevelFilterError
pub fn clone(&self) -> ParseLevelFilterError
sourceimpl<T> Clone for Instrumented<T> where
T: Clone,
impl<T> Clone for Instrumented<T> where
T: Clone,
pub fn clone(&self) -> Instrumented<T>
sourceimpl<T> Clone for WithDispatch<T> where
T: Clone,
impl<T> Clone for WithDispatch<T> where
T: Clone,
pub fn clone(&self) -> WithDispatch<T>
sourceimpl Clone for LevelFilter
impl Clone for LevelFilter
pub fn clone(&self) -> LevelFilter
sourceimpl<M> Clone for WithMinLevel<M> where
M: Clone,
impl<M> Clone for WithMinLevel<M> where
M: Clone,
pub fn clone(&self) -> WithMinLevel<M>
sourceimpl<A, B> Clone for EitherWriter<A, B> where
A: Clone,
B: Clone,
impl<A, B> Clone for EitherWriter<A, B> where
A: Clone,
B: Clone,
pub fn clone(&self) -> EitherWriter<A, B>
sourceimpl Clone for SystemTime
impl Clone for SystemTime
pub fn clone(&self) -> SystemTime
sourceimpl Clone for ChronoLocal
impl Clone for ChronoLocal
pub fn clone(&self) -> ChronoLocal
sourceimpl<M> Clone for WithMaxLevel<M> where
M: Clone,
impl<M> Clone for WithMaxLevel<M> where
M: Clone,
pub fn clone(&self) -> WithMaxLevel<M>
sourceimpl<M, F> Clone for WithFilter<M, F> where
M: Clone,
F: Clone,
impl<M, F> Clone for WithFilter<M, F> where
M: Clone,
F: Clone,
pub fn clone(&self) -> WithFilter<M, F>
sourceimpl Clone for CaptureLocations
impl Clone for CaptureLocations
pub fn clone(&self) -> CaptureLocations
sourceimpl Clone for SetMatches
impl Clone for SetMatches
pub fn clone(&self) -> SetMatches
sourceimpl Clone for CaptureLocations
impl Clone for CaptureLocations
pub fn clone(&self) -> CaptureLocations
sourceimpl Clone for SetMatches
impl Clone for SetMatches
pub fn clone(&self) -> SetMatches
sourceimpl<'a> Clone for SetMatchesIter<'a>
impl<'a> Clone for SetMatchesIter<'a>
pub fn clone(&self) -> SetMatchesIter<'a>
sourceimpl<'a> Clone for SetMatchesIter<'a>
impl<'a> Clone for SetMatchesIter<'a>
pub fn clone(&self) -> SetMatchesIter<'a>
sourceimpl<'r> Clone for CaptureNames<'r>
impl<'r> Clone for CaptureNames<'r>
pub fn clone(&self) -> CaptureNames<'r>
sourceimpl<'r> Clone for CaptureNames<'r>
impl<'r> Clone for CaptureNames<'r>
pub fn clone(&self) -> CaptureNames<'r>
sourceimpl<'c, 't> Clone for SubCaptureMatches<'c, 't>
impl<'c, 't> Clone for SubCaptureMatches<'c, 't>
pub fn clone(&self) -> SubCaptureMatches<'c, 't>
sourceimpl<'c, 't> Clone for SubCaptureMatches<'c, 't>
impl<'c, 't> Clone for SubCaptureMatches<'c, 't>
pub fn clone(&self) -> SubCaptureMatches<'c, 't>
sourceimpl Clone for AssertionKind
impl Clone for AssertionKind
pub fn clone(&self) -> AssertionKind
sourceimpl Clone for ClassBytes
impl Clone for ClassBytes
pub fn clone(&self) -> ClassBytes
sourceimpl Clone for ClassPerlKind
impl Clone for ClassPerlKind
pub fn clone(&self) -> ClassPerlKind
sourceimpl Clone for ClassAsciiKind
impl Clone for ClassAsciiKind
pub fn clone(&self) -> ClassAsciiKind
sourceimpl Clone for RepetitionRange
impl Clone for RepetitionRange
pub fn clone(&self) -> RepetitionRange
sourceimpl Clone for ClassBytesRange
impl Clone for ClassBytesRange
pub fn clone(&self) -> ClassBytesRange
sourceimpl Clone for ClassUnicode
impl Clone for ClassUnicode
pub fn clone(&self) -> ClassUnicode
sourceimpl Clone for ClassAscii
impl Clone for ClassAscii
pub fn clone(&self) -> ClassAscii
sourceimpl Clone for ClassUnicode
impl Clone for ClassUnicode
pub fn clone(&self) -> ClassUnicode
sourceimpl Clone for ClassUnicodeKind
impl Clone for ClassUnicodeKind
pub fn clone(&self) -> ClassUnicodeKind
sourceimpl Clone for Repetition
impl Clone for Repetition
pub fn clone(&self) -> Repetition
sourceimpl Clone for ClassUnicodeOpKind
impl Clone for ClassUnicodeOpKind
pub fn clone(&self) -> ClassUnicodeOpKind
sourceimpl Clone for ClassSetBinaryOpKind
impl Clone for ClassSetBinaryOpKind
pub fn clone(&self) -> ClassSetBinaryOpKind
sourceimpl Clone for HexLiteralKind
impl Clone for HexLiteralKind
pub fn clone(&self) -> HexLiteralKind
sourceimpl Clone for WordBoundary
impl Clone for WordBoundary
pub fn clone(&self) -> WordBoundary
sourceimpl Clone for WithComments
impl Clone for WithComments
pub fn clone(&self) -> WithComments
sourceimpl Clone for ParserBuilder
impl Clone for ParserBuilder
pub fn clone(&self) -> ParserBuilder
sourceimpl Clone for RepetitionKind
impl Clone for RepetitionKind
pub fn clone(&self) -> RepetitionKind
sourceimpl Clone for ClassSetUnion
impl Clone for ClassSetUnion
pub fn clone(&self) -> ClassSetUnion
sourceimpl Clone for Translator
impl Clone for Translator
pub fn clone(&self) -> Translator
sourceimpl Clone for ClassSetBinaryOp
impl Clone for ClassSetBinaryOp
pub fn clone(&self) -> ClassSetBinaryOp
sourceimpl Clone for ClassSetRange
impl Clone for ClassSetRange
pub fn clone(&self) -> ClassSetRange
sourceimpl Clone for Repetition
impl Clone for Repetition
pub fn clone(&self) -> Repetition
sourceimpl Clone for ClassBracketed
impl Clone for ClassBracketed
pub fn clone(&self) -> ClassBracketed
sourceimpl Clone for RepetitionOp
impl Clone for RepetitionOp
pub fn clone(&self) -> RepetitionOp
sourceimpl Clone for ClassUnicodeRange
impl Clone for ClassUnicodeRange
pub fn clone(&self) -> ClassUnicodeRange
sourceimpl Clone for TranslatorBuilder
impl Clone for TranslatorBuilder
pub fn clone(&self) -> TranslatorBuilder
sourceimpl Clone for ClassSetItem
impl Clone for ClassSetItem
pub fn clone(&self) -> ClassSetItem
sourceimpl Clone for SpecialLiteralKind
impl Clone for SpecialLiteralKind
pub fn clone(&self) -> SpecialLiteralKind
sourceimpl Clone for ParserBuilder
impl Clone for ParserBuilder
pub fn clone(&self) -> ParserBuilder
sourceimpl Clone for RepetitionKind
impl Clone for RepetitionKind
pub fn clone(&self) -> RepetitionKind
sourceimpl Clone for RepetitionRange
impl Clone for RepetitionRange
pub fn clone(&self) -> RepetitionRange
sourceimpl Clone for FlagsItemKind
impl Clone for FlagsItemKind
pub fn clone(&self) -> FlagsItemKind
sourceimpl Clone for Alternation
impl Clone for Alternation
pub fn clone(&self) -> Alternation
sourceimpl Clone for Utf8Sequence
impl Clone for Utf8Sequence
pub fn clone(&self) -> Utf8Sequence
sourceimpl Clone for LiteralKind
impl Clone for LiteralKind
pub fn clone(&self) -> LiteralKind
sourceimpl Clone for CaptureName
impl Clone for CaptureName
pub fn clone(&self) -> CaptureName
sourceimpl Clone for AhoCorasickBuilder
impl Clone for AhoCorasickBuilder
pub fn clone(&self) -> AhoCorasickBuilder
sourceimpl<S> Clone for AhoCorasick<S> where
S: Clone + StateID,
impl<S> Clone for AhoCorasick<S> where
S: Clone + StateID,
pub fn clone(&self) -> AhoCorasick<S>
sourceimpl Clone for FinderBuilder
impl Clone for FinderBuilder
pub fn clone(&self) -> FinderBuilder
sourceimpl Clone for RegexBuilder
impl Clone for RegexBuilder
pub fn clone(&self) -> RegexBuilder
sourceimpl<T, S> Clone for PremultipliedByteClass<T, S> where
T: Clone + AsRef<[S]>,
S: Clone + StateID,
impl<T, S> Clone for PremultipliedByteClass<T, S> where
T: Clone + AsRef<[S]>,
S: Clone + StateID,
pub fn clone(&self) -> PremultipliedByteClass<T, S>
sourceimpl<T, S> Clone for Premultiplied<T, S> where
T: Clone + AsRef<[S]>,
S: Clone + StateID,
impl<T, S> Clone for Premultiplied<T, S> where
T: Clone + AsRef<[S]>,
S: Clone + StateID,
pub fn clone(&self) -> Premultiplied<T, S>
sourceimpl<'a, S> Clone for ANSIGenericString<'a, S> where
S: 'a + ToOwned + ?Sized,
<S as ToOwned>::Owned: Debug,
impl<'a, S> Clone for ANSIGenericString<'a, S> where
S: 'a + ToOwned + ?Sized,
<S as ToOwned>::Owned: Debug,
Cloning an ANSIGenericString
will clone its underlying string.
Examples
use ansi_term::ANSIString;
let plain_string = ANSIString::from("a plain string");
let clone_string = plain_string.clone();
assert_eq!(clone_string, plain_string);
pub fn clone(&self) -> ANSIGenericString<'a, S>
sourceimpl Clone for CompactFormatter
impl Clone for CompactFormatter
pub fn clone(&self) -> CompactFormatter
sourceimpl<'a> Clone for PrettyFormatter<'a>
impl<'a> Clone for PrettyFormatter<'a>
pub fn clone(&self) -> PrettyFormatter<'a>
sourceimpl Clone for DefaultConfig
impl Clone for DefaultConfig
pub fn clone(&self) -> DefaultConfig
sourceimpl Clone for WaitTimeoutResult
impl Clone for WaitTimeoutResult
pub fn clone(&self) -> WaitTimeoutResult
sourceimpl Clone for UnparkResult
impl Clone for UnparkResult
pub fn clone(&self) -> UnparkResult
sourceimpl Clone for ParkResult
impl Clone for ParkResult
pub fn clone(&self) -> ParkResult
sourceimpl Clone for UnparkToken
impl Clone for UnparkToken
pub fn clone(&self) -> UnparkToken
sourceimpl Clone for _libc_fpstate
impl Clone for _libc_fpstate
pub fn clone(&self) -> _libc_fpstate
sourceimpl Clone for pthread_mutexattr_t
impl Clone for pthread_mutexattr_t
pub fn clone(&self) -> pthread_mutexattr_t
sourceimpl Clone for __c_anonymous_sockaddr_can_can_addr
impl Clone for __c_anonymous_sockaddr_can_can_addr
pub fn clone(&self) -> __c_anonymous_sockaddr_can_can_addr
sourceimpl Clone for statx_timestamp
impl Clone for statx_timestamp
pub fn clone(&self) -> statx_timestamp
sourceimpl Clone for pthread_condattr_t
impl Clone for pthread_condattr_t
pub fn clone(&self) -> pthread_condattr_t
sourceimpl Clone for Elf32_Ehdr
impl Clone for Elf32_Ehdr
pub fn clone(&self) -> Elf32_Ehdr
sourceimpl Clone for nl_mmap_req
impl Clone for nl_mmap_req
pub fn clone(&self) -> nl_mmap_req
sourceimpl Clone for sock_fprog
impl Clone for sock_fprog
pub fn clone(&self) -> sock_fprog
sourceimpl Clone for uinput_setup
impl Clone for uinput_setup
pub fn clone(&self) -> uinput_setup
sourceimpl Clone for sockaddr_ll
impl Clone for sockaddr_ll
pub fn clone(&self) -> sockaddr_ll
sourceimpl Clone for Elf32_Shdr
impl Clone for Elf32_Shdr
pub fn clone(&self) -> Elf32_Shdr
sourceimpl Clone for sock_filter
impl Clone for sock_filter
pub fn clone(&self) -> sock_filter
sourceimpl Clone for __c_anonymous_sockaddr_can_j1939
impl Clone for __c_anonymous_sockaddr_can_j1939
pub fn clone(&self) -> __c_anonymous_sockaddr_can_j1939
sourceimpl Clone for sockaddr_storage
impl Clone for sockaddr_storage
pub fn clone(&self) -> sockaddr_storage
sourceimpl Clone for uinput_abs_setup
impl Clone for uinput_abs_setup
pub fn clone(&self) -> uinput_abs_setup
sourceimpl Clone for sockaddr_in6
impl Clone for sockaddr_in6
pub fn clone(&self) -> sockaddr_in6
sourceimpl Clone for fanotify_response
impl Clone for fanotify_response
pub fn clone(&self) -> fanotify_response
sourceimpl Clone for dl_phdr_info
impl Clone for dl_phdr_info
pub fn clone(&self) -> dl_phdr_info
sourceimpl Clone for genlmsghdr
impl Clone for genlmsghdr
pub fn clone(&self) -> genlmsghdr
sourceimpl Clone for sockaddr_nl
impl Clone for sockaddr_nl
pub fn clone(&self) -> sockaddr_nl
sourceimpl Clone for ff_ramp_effect
impl Clone for ff_ramp_effect
pub fn clone(&self) -> ff_ramp_effect
sourceimpl Clone for packet_mreq
impl Clone for packet_mreq
pub fn clone(&self) -> packet_mreq
sourceimpl Clone for ff_periodic_effect
impl Clone for ff_periodic_effect
pub fn clone(&self) -> ff_periodic_effect
sourceimpl Clone for max_align_t
impl Clone for max_align_t
pub fn clone(&self) -> max_align_t
sourceimpl Clone for seccomp_data
impl Clone for seccomp_data
pub fn clone(&self) -> seccomp_data
sourceimpl Clone for input_event
impl Clone for input_event
pub fn clone(&self) -> input_event
sourceimpl Clone for sockaddr_alg
impl Clone for sockaddr_alg
pub fn clone(&self) -> sockaddr_alg
sourceimpl Clone for Elf32_Phdr
impl Clone for Elf32_Phdr
pub fn clone(&self) -> Elf32_Phdr
sourceimpl Clone for _libc_fpxreg
impl Clone for _libc_fpxreg
pub fn clone(&self) -> _libc_fpxreg
sourceimpl Clone for user_regs_struct
impl Clone for user_regs_struct
pub fn clone(&self) -> user_regs_struct
sourceimpl Clone for canfd_frame
impl Clone for canfd_frame
pub fn clone(&self) -> canfd_frame
sourceimpl Clone for sched_param
impl Clone for sched_param
pub fn clone(&self) -> sched_param
sourceimpl Clone for nl_pktinfo
impl Clone for nl_pktinfo
pub fn clone(&self) -> nl_pktinfo
sourceimpl Clone for ff_rumble_effect
impl Clone for ff_rumble_effect
pub fn clone(&self) -> ff_rumble_effect
sourceimpl Clone for sock_extended_err
impl Clone for sock_extended_err
pub fn clone(&self) -> sock_extended_err
sourceimpl Clone for Elf64_Chdr
impl Clone for Elf64_Chdr
pub fn clone(&self) -> Elf64_Chdr
sourceimpl Clone for sockaddr_in
impl Clone for sockaddr_in
pub fn clone(&self) -> sockaddr_in
sourceimpl Clone for ff_condition_effect
impl Clone for ff_condition_effect
pub fn clone(&self) -> ff_condition_effect
sourceimpl Clone for sockaddr_un
impl Clone for sockaddr_un
pub fn clone(&self) -> sockaddr_un
sourceimpl Clone for sockaddr_can
impl Clone for sockaddr_can
pub fn clone(&self) -> sockaddr_can
sourceimpl Clone for signalfd_siginfo
impl Clone for signalfd_siginfo
pub fn clone(&self) -> signalfd_siginfo
sourceimpl Clone for user_fpregs_struct
impl Clone for user_fpregs_struct
pub fn clone(&self) -> user_fpregs_struct
sourceimpl Clone for nl_mmap_hdr
impl Clone for nl_mmap_hdr
pub fn clone(&self) -> nl_mmap_hdr
sourceimpl Clone for ip_mreq_source
impl Clone for ip_mreq_source
pub fn clone(&self) -> ip_mreq_source
sourceimpl Clone for arpreq_old
impl Clone for arpreq_old
pub fn clone(&self) -> arpreq_old
sourceimpl Clone for in6_pktinfo
impl Clone for in6_pktinfo
pub fn clone(&self) -> in6_pktinfo
sourceimpl Clone for ff_constant_effect
impl Clone for ff_constant_effect
pub fn clone(&self) -> ff_constant_effect
sourceimpl Clone for input_mask
impl Clone for input_mask
pub fn clone(&self) -> input_mask
sourceimpl Clone for pthread_rwlock_t
impl Clone for pthread_rwlock_t
pub fn clone(&self) -> pthread_rwlock_t
sourceimpl Clone for Elf32_Chdr
impl Clone for Elf32_Chdr
pub fn clone(&self) -> Elf32_Chdr
sourceimpl Clone for fanotify_event_metadata
impl Clone for fanotify_event_metadata
pub fn clone(&self) -> fanotify_event_metadata
sourceimpl Clone for posix_spawn_file_actions_t
impl Clone for posix_spawn_file_actions_t
pub fn clone(&self) -> posix_spawn_file_actions_t
sourceimpl Clone for mcontext_t
impl Clone for mcontext_t
pub fn clone(&self) -> mcontext_t
sourceimpl Clone for input_keymap_entry
impl Clone for input_keymap_entry
pub fn clone(&self) -> input_keymap_entry
sourceimpl Clone for in_pktinfo
impl Clone for in_pktinfo
pub fn clone(&self) -> in_pktinfo
sourceimpl Clone for input_absinfo
impl Clone for input_absinfo
pub fn clone(&self) -> input_absinfo
sourceimpl Clone for if_nameindex
impl Clone for if_nameindex
pub fn clone(&self) -> if_nameindex
sourceimpl Clone for __exit_status
impl Clone for __exit_status
pub fn clone(&self) -> __exit_status
sourceimpl Clone for pthread_cond_t
impl Clone for pthread_cond_t
pub fn clone(&self) -> pthread_cond_t
sourceimpl Clone for uinput_user_dev
impl Clone for uinput_user_dev
pub fn clone(&self) -> uinput_user_dev
sourceimpl Clone for regmatch_t
impl Clone for regmatch_t
pub fn clone(&self) -> regmatch_t
sourceimpl Clone for ff_trigger
impl Clone for ff_trigger
pub fn clone(&self) -> ff_trigger
sourceimpl Clone for __c_anonymous_sockaddr_can_tp
impl Clone for __c_anonymous_sockaddr_can_tp
pub fn clone(&self) -> __c_anonymous_sockaddr_can_tp
sourceimpl Clone for ff_envelope
impl Clone for ff_envelope
pub fn clone(&self) -> ff_envelope
sourceimpl Clone for pthread_attr_t
impl Clone for pthread_attr_t
pub fn clone(&self) -> pthread_attr_t
sourceimpl Clone for Elf64_Phdr
impl Clone for Elf64_Phdr
pub fn clone(&self) -> Elf64_Phdr
sourceimpl Clone for Elf64_Shdr
impl Clone for Elf64_Shdr
pub fn clone(&self) -> Elf64_Shdr
sourceimpl Clone for sockaddr_vm
impl Clone for sockaddr_vm
pub fn clone(&self) -> sockaddr_vm
sourceimpl Clone for epoll_event
impl Clone for epoll_event
pub fn clone(&self) -> epoll_event
sourceimpl Clone for Elf64_Ehdr
impl Clone for Elf64_Ehdr
pub fn clone(&self) -> Elf64_Ehdr
sourceimpl Clone for inotify_event
impl Clone for inotify_event
pub fn clone(&self) -> inotify_event
sourceimpl Clone for ucontext_t
impl Clone for ucontext_t
pub fn clone(&self) -> ucontext_t
sourceimpl Clone for pthread_rwlockattr_t
impl Clone for pthread_rwlockattr_t
pub fn clone(&self) -> pthread_rwlockattr_t
sourceimpl Clone for uinput_ff_erase
impl Clone for uinput_ff_erase
pub fn clone(&self) -> uinput_ff_erase
sourceimpl Clone for arpd_request
impl Clone for arpd_request
pub fn clone(&self) -> arpd_request
sourceimpl Clone for pthread_mutex_t
impl Clone for pthread_mutex_t
pub fn clone(&self) -> pthread_mutex_t
sourceimpl Clone for can_filter
impl Clone for can_filter
pub fn clone(&self) -> can_filter
sourceimpl Clone for ntptimeval
impl Clone for ntptimeval
pub fn clone(&self) -> ntptimeval
sourceimpl Clone for itimerspec
impl Clone for itimerspec
pub fn clone(&self) -> itimerspec
sourceimpl Clone for _libc_xmmreg
impl Clone for _libc_xmmreg
pub fn clone(&self) -> _libc_xmmreg
sourceimpl Clone for posix_spawnattr_t
impl Clone for posix_spawnattr_t
pub fn clone(&self) -> posix_spawnattr_t
sourceimpl Clone for uinput_ff_upload
impl Clone for uinput_ff_upload
pub fn clone(&self) -> uinput_ff_upload
sourceimpl Clone for SecondsFormat
impl Clone for SecondsFormat
pub fn clone(&self) -> SecondsFormat
sourceimpl Clone for InternalNumeric
impl Clone for InternalNumeric
pub fn clone(&self) -> InternalNumeric
sourceimpl Clone for ParseWeekdayError
impl Clone for ParseWeekdayError
pub fn clone(&self) -> ParseWeekdayError
sourceimpl Clone for RoundingError
impl Clone for RoundingError
pub fn clone(&self) -> RoundingError
sourceimpl<T> Clone for LocalResult<T> where
T: Clone,
impl<T> Clone for LocalResult<T> where
T: Clone,
pub fn clone(&self) -> LocalResult<T>
sourceimpl Clone for FixedOffset
impl Clone for FixedOffset
pub fn clone(&self) -> FixedOffset
sourceimpl Clone for ParseError
impl Clone for ParseError
pub fn clone(&self) -> ParseError
sourceimpl Clone for NaiveDateTime
impl Clone for NaiveDateTime
pub fn clone(&self) -> NaiveDateTime
sourceimpl Clone for ParseMonthError
impl Clone for ParseMonthError
pub fn clone(&self) -> ParseMonthError
sourceimpl<'a> Clone for StrftimeItems<'a>
impl<'a> Clone for StrftimeItems<'a>
pub fn clone(&self) -> StrftimeItems<'a>
sourceimpl Clone for InternalFixed
impl Clone for InternalFixed
pub fn clone(&self) -> InternalFixed
sourceimpl Clone for ParseError
impl Clone for ParseError
pub fn clone(&self) -> ParseError
sourceimpl Clone for OutOfRangeError
impl Clone for OutOfRangeError
pub fn clone(&self) -> OutOfRangeError
sourceimpl Clone for SteadyTime
impl Clone for SteadyTime
pub fn clone(&self) -> SteadyTime
sourceimpl Clone for PreciseTime
impl Clone for PreciseTime
pub fn clone(&self) -> PreciseTime
sourceimpl<A> Clone for ExtendedGcd<A> where
A: Clone,
impl<A> Clone for ExtendedGcd<A> where
A: Clone,
pub fn clone(&self) -> ExtendedGcd<A>
sourceimpl Clone for CryptoTypeId
impl Clone for CryptoTypeId
pub fn clone(&self) -> CryptoTypeId
sourceimpl Clone for EnvironmentDefinition
impl Clone for EnvironmentDefinition
pub fn clone(&self) -> EnvironmentDefinition
sourceimpl Clone for HttpRequestStatus
impl Clone for HttpRequestStatus
pub fn clone(&self) -> HttpRequestStatus
sourceimpl Clone for PublicError
impl Clone for PublicError
pub fn clone(&self) -> PublicError
sourceimpl Clone for Ss58AddressFormat
impl Clone for Ss58AddressFormat
pub fn clone(&self) -> Ss58AddressFormat
sourceimpl Clone for LocalizedSignature
impl Clone for LocalizedSignature
pub fn clone(&self) -> LocalizedSignature
sourceimpl Clone for ChangesTrieConfiguration
impl Clone for ChangesTrieConfiguration
pub fn clone(&self) -> ChangesTrieConfiguration
sourceimpl Clone for AccountId32
impl Clone for AccountId32
pub fn clone(&self) -> AccountId32
sourceimpl<'clone> Clone for Box<dyn SpawnNamed + Send + 'clone, Global>
impl<'clone> Clone for Box<dyn SpawnNamed + Send + 'clone, Global>
pub fn clone(&self) -> Box<dyn SpawnNamed + Send + 'clone, Global>โNotable traits for Box<R, Global>impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
sourceimpl Clone for PublicError
impl Clone for PublicError
pub fn clone(&self) -> PublicError
sourceimpl Clone for OpaqueNetworkState
impl Clone for OpaqueNetworkState
pub fn clone(&self) -> OpaqueNetworkState
sourceimpl Clone for TestOffchainExt
impl Clone for TestOffchainExt
pub fn clone(&self) -> TestOffchainExt
sourceimpl<'clone> Clone for Box<dyn SpawnNamed + 'clone, Global>
impl<'clone> Clone for Box<dyn SpawnNamed + 'clone, Global>
pub fn clone(&self) -> Box<dyn SpawnNamed + 'clone, Global>โNotable traits for Box<R, Global>impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
sourceimpl Clone for OpaquePeerId
impl Clone for OpaquePeerId
pub fn clone(&self) -> OpaquePeerId
sourceimpl<'clone> Clone for Box<dyn SpawnNamed + Send + Sync + 'clone, Global>
impl<'clone> Clone for Box<dyn SpawnNamed + Send + Sync + 'clone, Global>
pub fn clone(&self) -> Box<dyn SpawnNamed + Send + Sync + 'clone, Global>โNotable traits for Box<R, Global>impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
sourceimpl Clone for ExternEntity
impl Clone for ExternEntity
pub fn clone(&self) -> ExternEntity
sourceimpl Clone for TestPersistentOffchainDB
impl Clone for TestPersistentOffchainDB
pub fn clone(&self) -> TestPersistentOffchainDB
sourceimpl Clone for PublicError
impl Clone for PublicError
pub fn clone(&self) -> PublicError
sourceimpl<Number, Hash> Clone for ChangesTrieConfigurationRange<Number, Hash> where
Number: Clone,
Hash: Clone,
impl<Number, Hash> Clone for ChangesTrieConfigurationRange<Number, Hash> where
Number: Clone,
Hash: Clone,
pub fn clone(&self) -> ChangesTrieConfigurationRange<Number, Hash>
sourceimpl Clone for InMemOffchainStorage
impl Clone for InMemOffchainStorage
pub fn clone(&self) -> InMemOffchainStorage
sourceimpl<'a> Clone for RuntimeCode<'a>
impl<'a> Clone for RuntimeCode<'a>
pub fn clone(&self) -> RuntimeCode<'a>
sourceimpl Clone for LocalizedSignature
impl Clone for LocalizedSignature
pub fn clone(&self) -> LocalizedSignature
sourceimpl Clone for OffchainOverlayedChange
impl Clone for OffchainOverlayedChange
pub fn clone(&self) -> OffchainOverlayedChange
sourceimpl Clone for OpaqueMultiaddr
impl Clone for OpaqueMultiaddr
pub fn clone(&self) -> OpaqueMultiaddr
sourceimpl Clone for MissingHostFunctions
impl Clone for MissingHostFunctions
pub fn clone(&self) -> MissingHostFunctions
sourceimpl Clone for CryptoTypePublicPair
impl Clone for CryptoTypePublicPair
pub fn clone(&self) -> CryptoTypePublicPair
sourceimpl Clone for DeriveJunction
impl Clone for DeriveJunction
pub fn clone(&self) -> DeriveJunction
sourceimpl Clone for HttpRequestId
impl Clone for HttpRequestId
pub fn clone(&self) -> HttpRequestId
sourceimpl Clone for ParseError
impl Clone for ParseError
pub fn clone(&self) -> ParseError
sourceimpl Clone for Capability
impl Clone for Capability
pub fn clone(&self) -> Capability
sourceimpl Clone for StorageKind
impl Clone for StorageKind
pub fn clone(&self) -> StorageKind
sourceimpl<'clone> Clone for Box<dyn SpawnNamed + Sync + 'clone, Global>
impl<'clone> Clone for Box<dyn SpawnNamed + Sync + 'clone, Global>
pub fn clone(&self) -> Box<dyn SpawnNamed + Sync + 'clone, Global>โNotable traits for Box<R, Global>impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
sourceimpl Clone for TaskExecutor
impl Clone for TaskExecutor
pub fn clone(&self) -> TaskExecutor
sourceimpl Clone for Capabilities
impl Clone for Capabilities
pub fn clone(&self) -> Capabilities
sourceimpl Clone for SecretStringError
impl Clone for SecretStringError
pub fn clone(&self) -> SecretStringError
sourceimpl Clone for ReturnValue
impl Clone for ReturnValue
pub fn clone(&self) -> ReturnValue
sourceimpl<T> Clone for Pointer<T> where
T: Clone + PointerType,
impl<T> Clone for Pointer<T> where
T: Clone + PointerType,
sourceimpl Clone for RuntimeValue
impl Clone for RuntimeValue
pub fn clone(&self) -> RuntimeValue
sourceimpl Clone for BrTableData
impl Clone for BrTableData
pub fn clone(&self) -> BrTableData
sourceimpl Clone for RelocSection
impl Clone for RelocSection
pub fn clone(&self) -> RelocSection
sourceimpl Clone for TableSection
impl Clone for TableSection
pub fn clone(&self) -> TableSection
sourceimpl Clone for FunctionSection
impl Clone for FunctionSection
pub fn clone(&self) -> FunctionSection
sourceimpl Clone for DataSegment
impl Clone for DataSegment
pub fn clone(&self) -> DataSegment
sourceimpl Clone for GlobalType
impl Clone for GlobalType
pub fn clone(&self) -> GlobalType
sourceimpl Clone for TableElementType
impl Clone for TableElementType
pub fn clone(&self) -> TableElementType
sourceimpl Clone for MemorySection
impl Clone for MemorySection
pub fn clone(&self) -> MemorySection
sourceimpl Clone for FunctionType
impl Clone for FunctionType
pub fn clone(&self) -> FunctionType
sourceimpl Clone for ImportSection
impl Clone for ImportSection
pub fn clone(&self) -> ImportSection
sourceimpl Clone for GlobalEntry
impl Clone for GlobalEntry
pub fn clone(&self) -> GlobalEntry
sourceimpl Clone for CustomSection
impl Clone for CustomSection
pub fn clone(&self) -> CustomSection
sourceimpl Clone for DataSection
impl Clone for DataSection
pub fn clone(&self) -> DataSection
sourceimpl Clone for ModuleNameSubsection
impl Clone for ModuleNameSubsection
pub fn clone(&self) -> ModuleNameSubsection
sourceimpl Clone for Instructions
impl Clone for Instructions
pub fn clone(&self) -> Instructions
sourceimpl Clone for ExportEntry
impl Clone for ExportEntry
pub fn clone(&self) -> ExportEntry
sourceimpl Clone for NameSection
impl Clone for NameSection
pub fn clone(&self) -> NameSection
sourceimpl Clone for CodeSection
impl Clone for CodeSection
pub fn clone(&self) -> CodeSection
sourceimpl<T> Clone for CountedList<T> where
T: Clone + Deserialize,
impl<T> Clone for CountedList<T> where
T: Clone + Deserialize,
pub fn clone(&self) -> CountedList<T>
sourceimpl Clone for ExportSection
impl Clone for ExportSection
pub fn clone(&self) -> ExportSection
sourceimpl Clone for LocalNameSubsection
impl Clone for LocalNameSubsection
pub fn clone(&self) -> LocalNameSubsection
sourceimpl<I, T> Clone for CountedListWriter<I, T> where
I: Serialize<Error = Error> + Clone,
T: Clone + IntoIterator<Item = I>,
impl<I, T> Clone for CountedListWriter<I, T> where
I: Serialize<Error = Error> + Clone,
T: Clone + IntoIterator<Item = I>,
pub fn clone(&self) -> CountedListWriter<I, T>
sourceimpl Clone for ElementSection
impl Clone for ElementSection
pub fn clone(&self) -> ElementSection
sourceimpl Clone for MemoryType
impl Clone for MemoryType
pub fn clone(&self) -> MemoryType
sourceimpl Clone for ResizableLimits
impl Clone for ResizableLimits
pub fn clone(&self) -> ResizableLimits
sourceimpl Clone for Instruction
impl Clone for Instruction
pub fn clone(&self) -> Instruction
sourceimpl Clone for ElementSegment
impl Clone for ElementSegment
pub fn clone(&self) -> ElementSegment
sourceimpl Clone for ImportEntry
impl Clone for ImportEntry
pub fn clone(&self) -> ImportEntry
sourceimpl Clone for GlobalSection
impl Clone for GlobalSection
pub fn clone(&self) -> GlobalSection
sourceimpl Clone for ImportCountType
impl Clone for ImportCountType
pub fn clone(&self) -> ImportCountType
sourceimpl Clone for RelocationEntry
impl Clone for RelocationEntry
pub fn clone(&self) -> RelocationEntry
sourceimpl Clone for TypeSection
impl Clone for TypeSection
pub fn clone(&self) -> TypeSection
sourceimpl Clone for FunctionNameSubsection
impl Clone for FunctionNameSubsection
pub fn clone(&self) -> FunctionNameSubsection
sourceimpl Clone for StackValueType
impl Clone for StackValueType
pub fn clone(&self) -> StackValueType
sourceimpl Clone for BlockFrame
impl Clone for BlockFrame
pub fn clone(&self) -> BlockFrame
sourceimpl Clone for StartedWith
impl Clone for StartedWith
pub fn clone(&self) -> StartedWith
sourceimpl Clone for ParseRatioError
impl Clone for ParseRatioError
pub fn clone(&self) -> ParseRatioError
sourceimpl Clone for ParseBigIntError
impl Clone for ParseBigIntError
pub fn clone(&self) -> ParseBigIntError
sourceimpl Clone for ChildTrieParentKeyId
impl Clone for ChildTrieParentKeyId
pub fn clone(&self) -> ChildTrieParentKeyId
sourceimpl Clone for TrackedStorageKey
impl Clone for TrackedStorageKey
pub fn clone(&self) -> TrackedStorageKey
sourceimpl Clone for PrefixedStorageKey
impl Clone for PrefixedStorageKey
pub fn clone(&self) -> PrefixedStorageKey
sourceimpl Clone for StorageKey
impl Clone for StorageKey
pub fn clone(&self) -> StorageKey
sourceimpl Clone for StorageData
impl Clone for StorageData
pub fn clone(&self) -> StorageData
sourceimpl Clone for StorageChild
impl Clone for StorageChild
pub fn clone(&self) -> StorageChild
sourceimpl Clone for LittleEndian
impl Clone for LittleEndian
pub fn clone(&self) -> LittleEndian
sourceimpl Clone for FromHexError
impl Clone for FromHexError
pub fn clone(&self) -> FromHexError
sourceimpl Clone for OpenClosed01
impl Clone for OpenClosed01
pub fn clone(&self) -> OpenClosed01
sourceimpl<X> Clone for WeightedIndex<X> where
X: Clone + SampleUniform + PartialOrd<X>,
<X as SampleUniform>::Sampler: Clone,
impl<X> Clone for WeightedIndex<X> where
X: Clone + SampleUniform + PartialOrd<X>,
<X as SampleUniform>::Sampler: Clone,
pub fn clone(&self) -> WeightedIndex<X>
sourceimpl Clone for IndexVecIntoIter
impl Clone for IndexVecIntoIter
pub fn clone(&self) -> IndexVecIntoIter
sourceimpl<X> Clone for UniformInt<X> where
X: Clone,
impl<X> Clone for UniformInt<X> where
X: Clone,
pub fn clone(&self) -> UniformInt<X>
sourceimpl Clone for Alphanumeric
impl Clone for Alphanumeric
pub fn clone(&self) -> Alphanumeric
sourceimpl<X> Clone for UniformFloat<X> where
X: Clone,
impl<X> Clone for UniformFloat<X> where
X: Clone,
pub fn clone(&self) -> UniformFloat<X>
sourceimpl Clone for WeightedError
impl Clone for WeightedError
pub fn clone(&self) -> WeightedError
sourceimpl<X> Clone for Uniform<X> where
X: Clone + SampleUniform,
<X as SampleUniform>::Sampler: Clone,
impl<X> Clone for Uniform<X> where
X: Clone + SampleUniform,
<X as SampleUniform>::Sampler: Clone,
sourceimpl Clone for UniformChar
impl Clone for UniformChar
pub fn clone(&self) -> UniformChar
sourceimpl<R, Rsdr> Clone for ReseedingRng<R, Rsdr> where
R: BlockRngCore + SeedableRng + Clone,
Rsdr: RngCore + Clone,
impl<R, Rsdr> Clone for ReseedingRng<R, Rsdr> where
R: BlockRngCore + SeedableRng + Clone,
Rsdr: RngCore + Clone,
pub fn clone(&self) -> ReseedingRng<R, Rsdr>
sourceimpl Clone for UniformDuration
impl Clone for UniformDuration
pub fn clone(&self) -> UniformDuration
sourceimpl Clone for BernoulliError
impl Clone for BernoulliError
pub fn clone(&self) -> BernoulliError
sourceimpl<R> Clone for BlockRng64<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
impl<R> Clone for BlockRng64<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
pub fn clone(&self) -> BlockRng64<R>
sourceimpl<R> Clone for BlockRng<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
impl<R> Clone for BlockRng<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
sourceimpl Clone for ChaCha12Core
impl Clone for ChaCha12Core
pub fn clone(&self) -> ChaCha12Core
sourceimpl Clone for ChaCha8Core
impl Clone for ChaCha8Core
pub fn clone(&self) -> ChaCha8Core
sourceimpl Clone for ChaCha12Rng
impl Clone for ChaCha12Rng
pub fn clone(&self) -> ChaCha12Rng
sourceimpl Clone for ChaCha20Rng
impl Clone for ChaCha20Rng
pub fn clone(&self) -> ChaCha20Rng
sourceimpl Clone for ChaCha8Rng
impl Clone for ChaCha8Rng
pub fn clone(&self) -> ChaCha8Rng
sourceimpl Clone for ChaCha20Core
impl Clone for ChaCha20Core
pub fn clone(&self) -> ChaCha20Core
sourceimpl<S3, S4, NI> Clone for SseMachine<S3, S4, NI> where
S3: Clone,
S4: Clone,
NI: Clone,
impl<S3, S4, NI> Clone for SseMachine<S3, S4, NI> where
S3: Clone,
S4: Clone,
NI: Clone,
pub fn clone(&self) -> SseMachine<S3, S4, NI>
sourceimpl Clone for vec256_storage
impl Clone for vec256_storage
pub fn clone(&self) -> vec256_storage
sourceimpl<NI> Clone for Avx2Machine<NI> where
NI: Clone,
impl<NI> Clone for Avx2Machine<NI> where
NI: Clone,
pub fn clone(&self) -> Avx2Machine<NI>
sourceimpl Clone for vec128_storage
impl Clone for vec128_storage
pub fn clone(&self) -> vec128_storage
sourceimpl Clone for vec512_storage
impl Clone for vec512_storage
pub fn clone(&self) -> vec512_storage
sourceimpl Clone for FromStrRadixErrKind
impl Clone for FromStrRadixErrKind
pub fn clone(&self) -> FromStrRadixErrKind
sourceimpl Clone for FromHexError
impl Clone for FromHexError
pub fn clone(&self) -> FromHexError
sourceimpl Clone for Blake2bResult
impl Clone for Blake2bResult
pub fn clone(&self) -> Blake2bResult
sourceimpl Clone for Blake2sResult
impl Clone for Blake2sResult
pub fn clone(&self) -> Blake2sResult
sourceimpl<T> Clone for CapacityError<T> where
T: Clone,
impl<T> Clone for CapacityError<T> where
T: Clone,
pub fn clone(&self) -> CapacityError<T>
sourceimpl<A> Clone for ArrayString<A> where
A: Array<Item = u8> + Copy,
impl<A> Clone for ArrayString<A> where
A: Array<Item = u8> + Copy,
pub fn clone(&self) -> ArrayString<A>
pub fn clone_from(&mut self, rhs: &ArrayString<A>)
sourceimpl Clone for Sha512Trunc256
impl Clone for Sha512Trunc256
pub fn clone(&self) -> Sha512Trunc256
sourceimpl Clone for Sha512Trunc224
impl Clone for Sha512Trunc224
pub fn clone(&self) -> Sha512Trunc224
sourceimpl<BlockSize> Clone for BlockBuffer<BlockSize> where
BlockSize: Clone + ArrayLength<u8>,
impl<BlockSize> Clone for BlockBuffer<BlockSize> where
BlockSize: Clone + ArrayLength<u8>,
pub fn clone(&self) -> BlockBuffer<BlockSize>
sourceimpl<T, N> Clone for GenericArray<T, N> where
T: Clone,
N: ArrayLength<T>,
impl<T, N> Clone for GenericArray<T, N> where
T: Clone,
N: ArrayLength<T>,
pub fn clone(&self) -> GenericArray<T, N>
sourceimpl<T, N> Clone for GenericArrayIter<T, N> where
T: Clone,
N: ArrayLength<T>,
impl<T, N> Clone for GenericArrayIter<T, N> where
T: Clone,
N: ArrayLength<T>,
pub fn clone(&self) -> GenericArrayIter<T, N>
sourceimpl Clone for ZeroPadding
impl Clone for ZeroPadding
pub fn clone(&self) -> ZeroPadding
sourceimpl Clone for UnpadError
impl Clone for UnpadError
pub fn clone(&self) -> UnpadError
sourceimpl Clone for InvalidOutputSize
impl Clone for InvalidOutputSize
pub fn clone(&self) -> InvalidOutputSize
sourceimpl Clone for Box<dyn DynDigest + 'static, Global>
impl Clone for Box<dyn DynDigest + 'static, Global>
pub fn clone(&self) -> Box<dyn DynDigest + 'static, Global>โNotable traits for Box<R, Global>impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
sourceimpl Clone for RandomXxHashBuilder64
impl Clone for RandomXxHashBuilder64
pub fn clone(&self) -> RandomXxHashBuilder64
sourceimpl Clone for RandomHashBuilder64
impl Clone for RandomHashBuilder64
pub fn clone(&self) -> RandomHashBuilder64
sourceimpl Clone for RandomXxHashBuilder32
impl Clone for RandomXxHashBuilder32
pub fn clone(&self) -> RandomXxHashBuilder32
sourceimpl Clone for RandomHashBuilder128
impl Clone for RandomHashBuilder128
pub fn clone(&self) -> RandomHashBuilder128
sourceimpl Clone for UnitSphereSurface
impl Clone for UnitSphereSurface
pub fn clone(&self) -> UnitSphereSurface
sourceimpl Clone for OpenClosed01
impl Clone for OpenClosed01
pub fn clone(&self) -> OpenClosed01
sourceimpl Clone for UniformDuration
impl Clone for UniformDuration
pub fn clone(&self) -> UniformDuration
sourceimpl Clone for ChiSquared
impl Clone for ChiSquared
pub fn clone(&self) -> ChiSquared
sourceimpl<X> Clone for UniformFloat<X> where
X: Clone,
impl<X> Clone for UniformFloat<X> where
X: Clone,
pub fn clone(&self) -> UniformFloat<X>
sourceimpl Clone for WeightedError
impl Clone for WeightedError
pub fn clone(&self) -> WeightedError
sourceimpl Clone for BernoulliError
impl Clone for BernoulliError
pub fn clone(&self) -> BernoulliError
sourceimpl<W> Clone for WeightedIndex<W> where
W: Weight,
Uniform<W>: Clone,
impl<W> Clone for WeightedIndex<W> where
W: Weight,
Uniform<W>: Clone,
pub fn clone(&self) -> WeightedIndex<W>
sourceimpl Clone for Triangular
impl Clone for Triangular
pub fn clone(&self) -> Triangular
sourceimpl<X> Clone for Uniform<X> where
X: Clone + SampleUniform,
<X as SampleUniform>::Sampler: Clone,
impl<X> Clone for Uniform<X> where
X: Clone + SampleUniform,
<X as SampleUniform>::Sampler: Clone,
sourceimpl<X> Clone for UniformInt<X> where
X: Clone,
impl<X> Clone for UniformInt<X> where
X: Clone,
pub fn clone(&self) -> UniformInt<X>
sourceimpl<X> Clone for WeightedIndex<X> where
X: Clone + SampleUniform + PartialOrd<X>,
<X as SampleUniform>::Sampler: Clone,
impl<X> Clone for WeightedIndex<X> where
X: Clone + SampleUniform + PartialOrd<X>,
<X as SampleUniform>::Sampler: Clone,
pub fn clone(&self) -> WeightedIndex<X>
sourceimpl Clone for StandardNormal
impl Clone for StandardNormal
pub fn clone(&self) -> StandardNormal
sourceimpl Clone for IndexVecIntoIter
impl Clone for IndexVecIntoIter
pub fn clone(&self) -> IndexVecIntoIter
sourceimpl Clone for UnitCircle
impl Clone for UnitCircle
pub fn clone(&self) -> UnitCircle
sourceimpl<R, Rsdr> Clone for ReseedingRng<R, Rsdr> where
R: BlockRngCore + SeedableRng + Clone,
Rsdr: RngCore + Clone,
impl<R, Rsdr> Clone for ReseedingRng<R, Rsdr> where
R: BlockRngCore + SeedableRng + Clone,
Rsdr: RngCore + Clone,
pub fn clone(&self) -> ReseedingRng<R, Rsdr>
sourceimpl<R> Clone for BlockRng<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
impl<R> Clone for BlockRng<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
sourceimpl<R> Clone for BlockRng64<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
impl<R> Clone for BlockRng64<R> where
R: Clone + BlockRngCore + ?Sized,
<R as BlockRngCore>::Results: Clone,
pub fn clone(&self) -> BlockRng64<R>
sourceimpl Clone for ChaCha20Core
impl Clone for ChaCha20Core
pub fn clone(&self) -> ChaCha20Core
sourceimpl Clone for ChaCha12Core
impl Clone for ChaCha12Core
pub fn clone(&self) -> ChaCha12Core
sourceimpl Clone for ChaCha20Rng
impl Clone for ChaCha20Rng
pub fn clone(&self) -> ChaCha20Rng
sourceimpl Clone for ChaCha8Rng
impl Clone for ChaCha8Rng
pub fn clone(&self) -> ChaCha8Rng
sourceimpl Clone for ChaCha8Core
impl Clone for ChaCha8Core
pub fn clone(&self) -> ChaCha8Core
sourceimpl Clone for ChaCha12Rng
impl Clone for ChaCha12Rng
pub fn clone(&self) -> ChaCha12Rng
sourceimpl Clone for Lcg128Xsl64
impl Clone for Lcg128Xsl64
pub fn clone(&self) -> Lcg128Xsl64
sourceimpl Clone for Mcg128Xsl64
impl Clone for Mcg128Xsl64
pub fn clone(&self) -> Mcg128Xsl64
sourceimpl Clone for Lcg64Xsh32
impl Clone for Lcg64Xsh32
pub fn clone(&self) -> Lcg64Xsh32
sourceimpl Clone for EdwardsBasepointTableRadix128
impl Clone for EdwardsBasepointTableRadix128
pub fn clone(&self) -> EdwardsBasepointTableRadix128
sourceimpl Clone for CompressedRistretto
impl Clone for CompressedRistretto
pub fn clone(&self) -> CompressedRistretto
sourceimpl Clone for EdwardsBasepointTableRadix16
impl Clone for EdwardsBasepointTableRadix16
pub fn clone(&self) -> EdwardsBasepointTableRadix16
sourceimpl Clone for MontgomeryPoint
impl Clone for MontgomeryPoint
pub fn clone(&self) -> MontgomeryPoint
sourceimpl Clone for RistrettoPoint
impl Clone for RistrettoPoint
pub fn clone(&self) -> RistrettoPoint
sourceimpl Clone for EdwardsBasepointTableRadix64
impl Clone for EdwardsBasepointTableRadix64
pub fn clone(&self) -> EdwardsBasepointTableRadix64
sourceimpl Clone for CompressedEdwardsY
impl Clone for CompressedEdwardsY
pub fn clone(&self) -> CompressedEdwardsY
sourceimpl Clone for EdwardsBasepointTableRadix32
impl Clone for EdwardsBasepointTableRadix32
pub fn clone(&self) -> EdwardsBasepointTableRadix32
sourceimpl Clone for EdwardsBasepointTableRadix256
impl Clone for EdwardsBasepointTableRadix256
pub fn clone(&self) -> EdwardsBasepointTableRadix256
sourceimpl Clone for EdwardsBasepointTable
impl Clone for EdwardsBasepointTable
pub fn clone(&self) -> EdwardsBasepointTable
sourceimpl Clone for EdwardsPoint
impl Clone for EdwardsPoint
pub fn clone(&self) -> EdwardsPoint
sourceimpl Clone for RistrettoBasepointTable
impl Clone for RistrettoBasepointTable
pub fn clone(&self) -> RistrettoBasepointTable
sourceimpl Clone for Sha512Trunc224
impl Clone for Sha512Trunc224
pub fn clone(&self) -> Sha512Trunc224
sourceimpl Clone for Sha512Trunc256
impl Clone for Sha512Trunc256
pub fn clone(&self) -> Sha512Trunc256
sourceimpl<BlockSize> Clone for BlockBuffer<BlockSize> where
BlockSize: Clone + ArrayLength<u8>,
impl<BlockSize> Clone for BlockBuffer<BlockSize> where
BlockSize: Clone + ArrayLength<u8>,
pub fn clone(&self) -> BlockBuffer<BlockSize>
sourceimpl Clone for UnpadError
impl Clone for UnpadError
pub fn clone(&self) -> UnpadError
sourceimpl<T, N> Clone for GenericArrayIter<T, N> where
T: Clone,
N: ArrayLength<T>,
impl<T, N> Clone for GenericArrayIter<T, N> where
T: Clone,
N: ArrayLength<T>,
pub fn clone(&self) -> GenericArrayIter<T, N>
sourceimpl<T, N> Clone for GenericArray<T, N> where
T: Clone,
N: ArrayLength<T>,
impl<T, N> Clone for GenericArray<T, N> where
T: Clone,
N: ArrayLength<T>,
pub fn clone(&self) -> GenericArray<T, N>
sourceimpl Clone for Box<dyn DynDigest + 'static, Global>
impl Clone for Box<dyn DynDigest + 'static, Global>
pub fn clone(&self) -> Box<dyn DynDigest + 'static, Global>โNotable traits for Box<R, Global>impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;