1.0.0[][src]Trait frame_support::dispatch::Clone

#[lang = "clone"]pub trait Clone {
#[must_use =
  "cloning is often expensive and is not expected to have side effects"]    pub fn clone(&self) -> Self;

    pub fn clone_from(&mut self, source: &Self) { ... }
}

A common trait for the ability to explicitly duplicate an object.

Differs from Copy in that Copy is implicit and extremely inexpensive, while Clone is always explicit and may or may not be expensive. In order to enforce these characteristics, Rust does not allow you to reimplement Copy, but you may reimplement Clone and run arbitrary code.

Since Clone is more general than Copy, you can automatically make anything Copy be Clone as well.

Derivable

This trait can be used with #[derive] if all fields are Clone. The derived implementation of Clone calls clone on each field.

For a generic struct, #[derive] implements Clone conditionally by adding bound Clone on generic parameters.

// `derive` implements Clone for Reading<T> when T is Clone.
#[derive(Clone)]
struct Reading<T> {
    frequency: T,
}

How can I implement Clone?

Types that are Copy should have a trivial implementation of Clone. More formally: if T: Copy, x: T, and y: &T, then let x = y.clone(); is equivalent to let x = *y;. Manual implementations should be careful to uphold this invariant; however, unsafe code must not rely on it to ensure memory safety.

An example is a generic struct holding a function pointer. In this case, the implementation of Clone cannot be derived, but can be implemented as:

struct Generate<T>(fn() -> T);

impl<T> Copy for Generate<T> {}

impl<T> Clone for Generate<T> {
    fn clone(&self) -> Self {
        *self
    }
}

Additional implementors

In addition to the implementors listed below, the following types also implement Clone:

Required methods

#[must_use = "cloning is often expensive and is not expected to have side effects"]pub fn clone(&self) -> Self[src]

Returns a copy of the value.

Examples

let hello = "Hello"; // &str implements Clone

assert_eq!("Hello", hello.clone());
Loading content...

Provided methods

pub fn clone_from(&mut self, source: &Self)[src]

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.

Loading content...

Implementations on Foreign Types

impl<'_, K, V> Clone for Keys<'_, K, V>[src]

impl Clone for ThreadId[src]

impl<'_, T, S> Clone for Difference<'_, T, S>[src]

impl Clone for Ipv6Addr[src]

impl Clone for Ipv6MulticastScope[src]

impl Clone for OsString[src]

impl<'_, K, V> Clone for Iter<'_, K, V>[src]

impl Clone for Thread[src]

impl Clone for SystemTime[src]

impl Clone for Box<Path, Global>[src]

impl Clone for StripPrefixError[src]

impl Clone for Instant[src]

impl<'_, T, S> Clone for Union<'_, T, S>[src]

impl Clone for RecvError[src]

impl Clone for Metadata[src]

impl<'a> Clone for IoSlice<'a>[src]

impl<'a> Clone for Chain<'a>[src]

impl<T, S> Clone for HashSet<T, S> where
    T: Clone,
    S: Clone
[src]

impl Clone for SystemTimeError[src]

impl Clone for CString[src]

impl Clone for Permissions[src]

impl Clone for Shutdown[src]

impl Clone for UCred[src]

impl Clone for TryRecvError[src]

impl Clone for AddrParseError[src]

impl Clone for IpAddr[src]

impl Clone for SocketAddr[src]

impl<'_, T, S> Clone for Intersection<'_, T, S>[src]

impl<'_, K> Clone for Iter<'_, K>[src]

impl Clone for Box<CStr, Global>[src]

impl Clone for SocketAddr[src]

impl<T> Clone for TrySendError<T> where
    T: Clone
[src]

impl<'a> Clone for PrefixComponent<'a>[src]

impl Clone for SocketAddrV6[src]

impl<'_, T, S> Clone for SymmetricDifference<'_, T, S>[src]

impl Clone for DefaultHasher[src]

impl Clone for PathBuf[src]

impl Clone for stat[src]

impl Clone for Ipv4Addr[src]

impl<T> Clone for Sender<T>[src]

impl Clone for FromBytesWithNulError[src]

impl Clone for FromVecWithNulError[src]

impl Clone for SocketCred[src]

impl Clone for IntoStringError[src]

impl<T> Clone for SyncOnceCell<T> where
    T: Clone
[src]

impl<'_, K, V> Clone for Values<'_, K, V>[src]

impl<T> Clone for SendError<T> where
    T: Clone
[src]

impl Clone for ExitStatus[src]

impl Clone for System[src]

impl<'a> Clone for Components<'a>[src]

impl<K, V, S> Clone for HashMap<K, V, S> where
    K: Clone,
    V: Clone,
    S: Clone
[src]

impl Clone for SocketAddrV4[src]

impl Clone for WaitTimeoutResult[src]

impl<'a> Clone for Iter<'a>[src]

impl Clone for ErrorKind[src]

impl Clone for Box<OsStr, Global>[src]

impl<'a> Clone for Component<'a>[src]

impl Clone for ExitCode[src]

impl Clone for SeekFrom[src]

impl<T> Clone for SyncSender<T>[src]

impl<'a> Clone for Ancestors<'a>[src]

impl Clone for FileType[src]

impl Clone for OpenOptions[src]

impl Clone for VarError[src]

impl Clone for RecvTimeoutError[src]

impl Clone for Output[src]

impl Clone for AccessError[src]

impl<T> Clone for Cursor<T> where
    T: Clone
[src]

impl Clone for RandomState[src]

impl<'a> Clone for Prefix<'a>[src]

impl Clone for NulError[src]

impl Clone for __m512[src]

impl<I> Clone for Cloned<I> where
    I: Clone
[src]

impl<Idx> Clone for RangeTo<Idx> where
    Idx: Clone
[src]

impl<T> Clone for Rev<T> where
    T: Clone
[src]

impl Clone for u32[src]

impl<I> Clone for Cycle<I> where
    I: Clone
[src]

impl<F> Clone for RepeatWith<F> where
    F: Clone
[src]

impl Clone for NonZeroU64[src]

impl<I, F> Clone for FilterMap<I, F> where
    I: Clone,
    F: Clone
[src]

impl Clone for __m128d[src]

impl Clone for Waker[src]

impl<A, B> Clone for Chain<A, B> where
    A: Clone,
    B: Clone
[src]

impl<'a> Clone for SplitAsciiWhitespace<'a>[src]

impl Clone for NonZeroU16[src]

impl Clone for i64[src]

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

impl<'_, T, P> Clone for Split<'_, T, P> where
    P: Clone + FnMut(&T) -> bool
[src]

impl<Idx> Clone for Range<Idx> where
    Idx: Clone
[src]

impl<'_, T, const N: usize> Clone for ArrayChunks<'_, T, N>[src]

impl Clone for RangeFull[src]

impl<T> Clone for Empty<T>[src]

impl<'a> Clone for Location<'a>[src]

impl<T> Clone for Wrapping<T> where
    T: Clone
[src]

impl Clone for Ordering[src]

impl<'_, T> Clone for ChunksExact<'_, T>[src]

impl<I, P> Clone for SkipWhile<I, P> where
    I: Clone,
    P: Clone
[src]

impl Clone for NonZeroU8[src]

impl<I> Clone for Skip<I> where
    I: Clone
[src]

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

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

impl Clone for f64[src]

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

impl Clone for bool[src]

impl<'a, 'b> Clone for CharSliceSearcher<'a, 'b>[src]

impl Clone for i32[src]

impl<'_, T> !Clone for &'_ mut T where
    T: ?Sized
[src]

Shared references can be cloned, but mutable references cannot!

impl Clone for char[src]

impl<F> Clone for FromFn<F> where
    F: Clone
[src]

impl<T> Clone for Cell<T> where
    T: Copy
[src]

impl<'a> Clone for EscapeDefault<'a>[src]

impl Clone for SearchStep[src]

impl Clone for ParseFloatError[src]

impl<'a, P> Clone for RSplit<'a, P> where
    P: Pattern<'a>,
    <P as Pattern<'a>>::Searcher: Clone
[src]

impl Clone for Layout[src]

impl<T> Clone for Once<T> where
    T: Clone
[src]

impl<T> Clone for MaybeUninit<T> where
    T: Copy
[src]

impl Clone for CharTryFromError[src]

impl<A> Clone for Repeat<A> where
    A: Clone
[src]

impl Clone for ToUppercase[src]

impl<Idx> Clone for RangeInclusive<Idx> where
    Idx: Clone
[src]

impl<T, F> Clone for Successors<T, F> where
    T: Clone,
    F: Clone
[src]

impl<'_, T> Clone for Chunks<'_, T>[src]

impl<'a> Clone for EscapeDebug<'a>[src]

impl<'_, T> Clone for Windows<'_, T>[src]

impl<T> Clone for ManuallyDrop<T> where
    T: Clone + ?Sized
[src]

impl<'_, T> Clone for Iter<'_, T>[src]

impl<Idx> Clone for RangeToInclusive<Idx> where
    Idx: Clone
[src]

impl Clone for ParseBoolError[src]

impl Clone for LayoutError[src]

impl Clone for NonZeroUsize[src]

impl Clone for i16[src]

impl<T> Clone for RefCell<T> where
    T: Clone
[src]

pub fn clone(&self) -> RefCell<T>[src]

Panics

Panics if the value is currently mutably borrowed.

impl<I, F> Clone for Map<I, F> where
    I: Clone,
    F: Clone
[src]

impl Clone for __m256d[src]

impl Clone for CpuidResult[src]

impl Clone for i8[src]

impl<'_, A> Clone for Iter<'_, A>[src]

impl Clone for ParseCharError[src]

impl<I, P> Clone for Filter<I, P> where
    I: Clone,
    P: Clone
[src]

impl<T> Clone for Option<T> where
    T: Clone
[src]

impl<I> Clone for StepBy<I> where
    I: Clone
[src]

impl<T> Clone for Bound<T> where
    T: Clone
[src]

impl Clone for Infallible[src]

impl<'a, P> Clone for Split<'a, P> where
    P: Pattern<'a>,
    <P as Pattern<'a>>::Searcher: Clone
[src]

impl Clone for Utf8Error[src]

impl Clone for EscapeDefault[src]

impl<'a> Clone for Lines<'a>[src]

impl<'_, T> Clone for RChunks<'_, T>[src]

impl Clone for __m512i[src]

impl<'f> Clone for VaListImpl<'f>[src]

impl<'a, 'b> Clone for StrSearcher<'a, 'b>[src]

impl<'a, P> Clone for RSplitN<'a, P> where
    P: Pattern<'a>,
    <P as Pattern<'a>>::Searcher: Clone
[src]

impl<'a> Clone for LinesAny<'a>[src]

impl<'_, T> Clone for &'_ T where
    T: ?Sized
[src]

Shared references can be cloned, but mutable references cannot!

impl<T> Clone for Pending<T>[src]

impl<T> Clone for *const T where
    T: ?Sized
[src]

impl<'a, T, P> Clone for RSplit<'a, T, P> where
    T: 'a + Clone,
    P: Clone + FnMut(&T) -> bool
[src]

impl Clone for EscapeUnicode[src]

impl Clone for __m256i[src]

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

impl Clone for NonZeroU128[src]

impl Clone for usize[src]

impl<T> Clone for Discriminant<T>[src]

impl Clone for u16[src]

impl<I> Clone for Copied<I> where
    I: Clone
[src]

impl Clone for u8[src]

impl<'a> Clone for CharSearcher<'a>[src]

impl<I, P> Clone for MapWhile<I, P> where
    I: Clone,
    P: Clone
[src]

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

impl Clone for u128[src]

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

impl Clone for u64[src]

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

impl<'_, T, P> Clone for SplitInclusive<'_, T, P> where
    P: Clone + FnMut(&T) -> bool
[src]

impl Clone for ![src]

impl Clone for __m512d[src]

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

impl Clone for NonZeroI64[src]

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

impl<'a, P> Clone for SplitN<'a, P> where
    P: Pattern<'a>,
    <P as Pattern<'a>>::Searcher: Clone
[src]

impl Clone for NonZeroIsize[src]

impl<H> Clone for BuildHasherDefault<H>[src]

impl<T> Clone for Ready<T> where
    T: Clone
[src]

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

impl<Idx> Clone for RangeFrom<Idx> where
    Idx: Clone
[src]

impl Clone for TypeId[src]

impl Clone for NonZeroI8[src]

impl Clone for ToLowercase[src]

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
[src]

impl<I> Clone for Fuse<I> where
    I: Clone
[src]

impl<'a, T> Clone for RChunksExact<'a, T>[src]

impl<A> Clone for IntoIter<A> where
    A: Clone
[src]

impl<'a> Clone for Chars<'a>[src]

impl<'a> Clone for CharIndices<'a>[src]

impl Clone for ParseIntError[src]

impl<F> Clone for OnceWith<F> where
    F: Clone
[src]

impl Clone for __m128i[src]

impl<T> Clone for *mut T where
    T: ?Sized
[src]

impl Clone for NonZeroI128[src]

impl<'a> Clone for SplitWhitespace<'a>[src]

impl Clone for Duration[src]

impl Clone for IntErrorKind[src]

impl Clone for NonZeroI16[src]

impl Clone for __m256[src]

impl<Y, R> Clone for GeneratorState<Y, R> where
    R: Clone,
    Y: Clone
[src]

impl Clone for TryFromIntError[src]

impl<P> Clone for Pin<P> where
    P: Clone
[src]

impl<A, B> Clone for Zip<A, B> where
    A: Clone,
    B: Clone
[src]

impl Clone for NoneError[src]

impl<I> Clone for Take<I> where
    I: Clone
[src]

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

impl Clone for AllocError[src]

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

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

impl Clone for SipHasher[src]

impl Clone for isize[src]

impl Clone for NonZeroI32[src]

impl<I, P> Clone for TakeWhile<I, P> where
    I: Clone,
    P: Clone
[src]

impl<'a> Clone for Bytes<'a>[src]

impl<'a> Clone for EscapeUnicode<'a>[src]

impl Clone for NonZeroU32[src]

impl<I> Clone for Enumerate<I> where
    I: Clone
[src]

impl Clone for EscapeDefault[src]

impl<T> Clone for Poll<T> where
    T: Clone
[src]

impl<T> Clone for NonNull<T> where
    T: ?Sized
[src]

impl<'a> Clone for EncodeUtf16<'a>[src]

impl Clone for f32[src]

impl<B, C> Clone for ControlFlow<B, C> where
    C: Clone,
    B: Clone
[src]

impl<I, F> Clone for Inspect<I, F> where
    I: Clone,
    F: Clone
[src]

impl Clone for Ordering[src]

impl<T> Clone for Reverse<T> where
    T: Clone
[src]

impl Clone for TryFromSliceError[src]

impl Clone for i128[src]

impl Clone for DecodeUtf16Error[src]

impl Clone for TraitObject[src]

impl Clone for __m128[src]

impl Clone for FpCategory[src]

impl<T> Clone for OnceCell<T> where
    T: Clone
[src]

impl Clone for RawWakerVTable[src]

impl Clone for EscapeDebug[src]

impl<T> Clone for IntoIter<T> where
    T: Clone
[src]

impl Clone for Global[src]

impl<'_, T> Clone for Iter<'_, T>[src]

impl<T> Clone for Weak<T> where
    T: ?Sized
[src]

pub fn clone(&self) -> Weak<T>[src]

Makes a clone of the Weak pointer that points to the same allocation.

Examples

use std::sync::{Arc, Weak};

let weak_five = Arc::downgrade(&Arc::new(5));

let _ = Weak::clone(&weak_five);

impl Clone for Box<str, Global>[src]

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

impl<T> Clone for BTreeSet<T> where
    T: Clone
[src]

impl<'_, T> Clone for Iter<'_, T>[src]

impl<'_, K, V> Clone for Iter<'_, K, V>[src]

impl<'_, T> Clone for Range<'_, T>[src]

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

impl<T> Clone for IntoIter<T> where
    T: Clone
[src]

impl<'_, T> Clone for Cursor<'_, T>[src]

impl<'_, K, V> Clone for Keys<'_, K, V>[src]

impl<T> Clone for IntoIterSorted<T> where
    T: Clone
[src]

impl<T> Clone for VecDeque<T> where
    T: Clone
[src]

impl Clone for TryReserveError[src]

impl<'_, T> Clone for Union<'_, T>[src]

impl<'_, K, V> Clone for Values<'_, K, V>[src]

impl<'_, T> Clone for Difference<'_, T>[src]

impl<T> Clone for Weak<T> where
    T: ?Sized
[src]

pub fn clone(&self) -> Weak<T>[src]

Makes a clone of the Weak pointer that points to the same allocation.

Examples

use std::rc::{Rc, Weak};

let weak_five = Rc::downgrade(&Rc::new(5));

let _ = Weak::clone(&weak_five);

impl<'_, T> Clone for Iter<'_, T>[src]

impl<T> Clone for Arc<T> where
    T: ?Sized
[src]

pub fn clone(&self) -> Arc<T>[src]

Makes a clone of the Arc pointer.

This creates another pointer to the same allocation, increasing the strong reference count.

Examples

use std::sync::Arc;

let five = Arc::new(5);

let _ = Arc::clone(&five);

impl<'_, K, V> Clone for Range<'_, K, V>[src]

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

pub fn clone(&self) -> Box<T, A>[src]

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);

pub fn clone_from(&mut self, source: &Box<T, A>)[src]

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);

impl<T> Clone for LinkedList<T> where
    T: Clone
[src]

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

impl<'_, T> Clone for SymmetricDifference<'_, T>[src]

impl<T> Clone for BinaryHeap<T> where
    T: Clone
[src]

impl<'_, T> Clone for Intersection<'_, T>[src]

impl<T> Clone for Rc<T> where
    T: ?Sized
[src]

pub fn clone(&self) -> Rc<T>[src]

Makes a clone of the Rc pointer.

This creates another pointer to the same allocation, increasing the strong reference count.

Examples

use std::rc::Rc;

let five = Rc::new(5);

let _ = Rc::clone(&five);

impl Clone for String[src]

impl<T> Clone for IntoIter<T> where
    T: Clone
[src]

impl<K, V> Clone for BTreeMap<K, V> where
    K: Clone,
    V: Clone
[src]

impl<'_, T> Clone for Iter<'_, T>[src]

impl Clone for FromUtf8Error[src]

impl Clone for _Unwind_Reason_Code

impl Clone for _Unwind_Action

impl Clone for WasmFields[src]

impl Clone for WasmValuesSet[src]

impl Clone for WasmFieldName[src]

impl Clone for WasmEntryAttributes[src]

impl Clone for WasmValue[src]

impl Clone for WasmLevel[src]

impl Clone for WasmMetadata[src]

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

impl Clone for Error

impl Clone for OptionBool

impl<T> Clone for CapacityError<T> where
    T: Clone
[src]

impl<A> Clone for ArrayString<A> where
    A: Array<Item = u8> + Copy
[src]

impl<A> Clone for ArrayVec<A> where
    A: Array,
    <A as Array>::Item: Clone
[src]

impl<A> Clone for IntoIter<A> where
    A: Array,
    <A as Array>::Item: Clone
[src]

impl Clone for Error

impl<E> Clone for I32Deserializer<E>[src]

impl<'a> Clone for Unexpected<'a>[src]

impl Clone for IgnoredAny[src]

impl<E> Clone for I8Deserializer<E>[src]

impl<I, E> Clone for SeqDeserializer<I, E> where
    I: Clone,
    E: Clone
[src]

impl Clone for Error[src]

impl<E> Clone for U128Deserializer<E>[src]

impl<A> Clone for SeqAccessDeserializer<A> where
    A: Clone
[src]

impl<E> Clone for StringDeserializer<E>[src]

impl<'de, E> Clone for BorrowedBytesDeserializer<'de, E>[src]

impl<E> Clone for IsizeDeserializer<E>[src]

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
[src]

impl<A> Clone for MapAccessDeserializer<A> where
    A: Clone
[src]

impl<E> Clone for I64Deserializer<E>[src]

impl<E> Clone for I16Deserializer<E>[src]

impl<'de, E> Clone for StrDeserializer<'de, E>[src]

impl<E> Clone for U16Deserializer<E>[src]

impl<E> Clone for BoolDeserializer<E>[src]

impl<E> Clone for F32Deserializer<E>[src]

impl<E> Clone for U32Deserializer<E>[src]

impl<E> Clone for U8Deserializer<E>[src]

impl<E> Clone for CharDeserializer<E>[src]

impl<'de, E> Clone for BorrowedStrDeserializer<'de, E>[src]

impl<'a, E> Clone for CowStrDeserializer<'a, E>[src]

impl<E> Clone for I128Deserializer<E>[src]

impl<E> Clone for U64Deserializer<E>[src]

impl<E> Clone for UnitDeserializer<E>[src]

impl<E> Clone for UsizeDeserializer<E>[src]

impl<E> Clone for F64Deserializer<E>[src]

impl<'a, E> Clone for BytesDeserializer<'a, E>[src]

impl Clone for LevelFilter[src]

impl Clone for Kind[src]

impl Clone for Field[src]

impl<T> Clone for DisplayValue<T> where
    T: Clone + Display
[src]

impl Clone for Id[src]

impl<T> Clone for DebugValue<T> where
    T: Clone + Debug
[src]

impl Clone for Dispatch[src]

impl Clone for Level[src]

impl Clone for Identifier[src]

impl Clone for ParseLevelFilterError[src]

impl Clone for Interest[src]

impl Clone for Span[src]

impl<T> Clone for Instrumented<T> where
    T: Clone
[src]

impl<T> Clone for WithDispatch<T> where
    T: Clone
[src]

impl<'a> Clone for Metadata<'a>[src]

impl Clone for LevelFilter[src]

impl Clone for Level[src]

impl<'a> Clone for Record<'a>[src]

impl<'k> Clone for Key<'k>[src]

impl<'v> Clone for ValueBag<'v>[src]

impl Clone for Compact[src]

impl Clone for Full[src]

impl<F> Clone for FieldFn<F> where
    F: Clone
[src]

impl Clone for FmtSpan[src]

impl Clone for ChronoUtc[src]

impl<'a, S> Clone for Context<'a, S>[src]

impl<D, V> Clone for Delimited<D, V> where
    V: Clone,
    D: Clone
[src]

impl Clone for ChronoLocal[src]

impl Clone for SystemTime[src]

impl<F, T> Clone for Format<F, T> where
    T: Clone,
    F: Clone
[src]

impl<V> Clone for Messages<V> where
    V: Clone
[src]

impl Clone for BadName[src]

impl Clone for Identity[src]

impl Clone for Pretty[src]

impl Clone for Json[src]

impl<L, S> Clone for Handle<L, S>[src]

impl<L, I, S> Clone for Layered<L, I, S> where
    I: Clone,
    S: Clone,
    L: Clone
[src]

impl<V> Clone for Alt<V> where
    V: Clone
[src]

impl Clone for Uptime[src]

impl Clone for RegexSet

impl Clone for RegexSet

impl<'t> Clone for Match<'t>

impl Clone for CaptureLocations

impl Clone for SetMatches

impl<'t> Clone for NoExpand<'t>

impl Clone for CaptureLocations

impl<'c, 't> Clone for SubCaptureMatches<'c, 't> where
    't: 'c, 

impl Clone for Regex

impl Clone for Error

impl<'a> Clone for SetMatchesIter<'a>

impl Clone for Regex

impl<'t> Clone for Match<'t>

impl Clone for SetMatches

impl<'r> Clone for CaptureNames<'r>

impl<'t> Clone for NoExpand<'t>

impl<'r> Clone for CaptureNames<'r>

impl<'a> Clone for SetMatchesIter<'a>

impl<'c, 't> Clone for SubCaptureMatches<'c, 't> where
    't: 'c, 

impl Clone for MatchKind

impl Clone for AhoCorasickBuilder

impl Clone for MatchKind

impl Clone for Match

impl Clone for Config

impl Clone for ErrorKind

impl<S> Clone for AhoCorasick<S> where
    S: StateID + Clone

impl Clone for Builder

impl Clone for Searcher

impl Clone for Error

impl Clone for ClassUnicodeOpKind

impl Clone for ErrorKind

impl Clone for Span

impl Clone for ClassUnicodeRange

impl Clone for Literal

impl Clone for ClassSetRange

impl Clone for FlagsItemKind

impl Clone for RepetitionRange

impl Clone for Flag

impl Clone for RepetitionKind

impl Clone for CaptureName

impl Clone for Class

impl Clone for Repetition

impl Clone for ClassPerl

impl Clone for Ast

impl Clone for WordBoundary

impl Clone for ClassUnicodeKind

impl Clone for HexLiteralKind

impl Clone for RepetitionKind

impl Clone for TranslatorBuilder

impl Clone for RepetitionOp

impl Clone for ClassSetBinaryOpKind

impl Clone for ClassAscii

impl Clone for ClassSet

impl Clone for Parser

impl Clone for SetFlags

impl Clone for Literal

impl Clone for RepetitionRange

impl Clone for Group

impl Clone for WithComments

impl Clone for AssertionKind

impl Clone for ClassBracketed

impl Clone for Parser

impl Clone for ParserBuilder

impl Clone for GroupKind

impl Clone for FlagsItem

impl Clone for ClassUnicode

impl Clone for ClassPerlKind

impl Clone for Utf8Sequence

impl Clone for HirKind

impl Clone for Position

impl Clone for ErrorKind

impl Clone for ClassBytesRange

impl Clone for Concat

impl Clone for SpecialLiteralKind

impl Clone for Error

impl Clone for Utf8Range

impl Clone for ClassSetUnion

impl Clone for ClassBytes

impl Clone for Comment

impl Clone for Literals

impl Clone for Class

impl Clone for Repetition

impl Clone for Error

impl Clone for Flags

impl Clone for ClassAsciiKind

impl Clone for ClassUnicode

impl Clone for ClassSetBinaryOp

impl Clone for Group

impl Clone for Alternation

impl Clone for ParserBuilder

impl Clone for Assertion

impl Clone for Hir

impl Clone for Translator

impl Clone for Error

impl Clone for ClassSetItem

impl Clone for Literal

impl Clone for Anchor

impl Clone for LiteralKind

impl Clone for GroupKind

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

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

impl Clone for OnceState

impl Clone for WaitTimeoutResult

impl Clone for ParkToken

impl Clone for UnparkResult

impl Clone for FilterOp

impl Clone for RequeueOp

impl Clone for UnparkToken

impl Clone for ParkResult

impl<A> Clone for IntoIter<A> where
    A: Array + Clone,
    <A as Array>::Item: Clone

impl<A> Clone for SmallVec<A> where
    A: Array,
    <A as Array>::Item: Clone

impl Clone for sigaction

impl Clone for sigval

impl Clone for statfs64

impl Clone for msghdr

impl Clone for epoll_event

impl Clone for sem_t

impl Clone for in6_rtmsg

impl Clone for posix_spawn_file_actions_t

impl Clone for ipv6_mreq

impl Clone for iovec

impl Clone for utsname

impl Clone for sockaddr_nl

impl Clone for mq_attr

impl Clone for group

impl Clone for arpreq_old

impl Clone for termios2

impl Clone for mntent

impl Clone for fpos64_t

impl Clone for inotify_event

impl Clone for sockaddr_storage

impl Clone for statx

impl Clone for fd_set

impl Clone for shmid_ds

impl Clone for dl_phdr_info

impl Clone for tms

impl Clone for Dl_info

impl Clone for ip_mreq_source

impl Clone for Elf32_Shdr

impl Clone for can_filter

impl Clone for glob_t

impl Clone for termios

impl Clone for regex_t

impl Clone for nl_pktinfo

impl Clone for nlmsghdr

impl Clone for rtentry

impl Clone for passwd

impl Clone for arpd_request

impl Clone for packet_mreq

impl Clone for arpreq

impl Clone for winsize

impl Clone for itimerspec

impl Clone for flock64

impl Clone for dirent

impl Clone for _libc_fpstate

impl Clone for regmatch_t

impl Clone for statvfs

impl Clone for ntptimeval

impl Clone for sockaddr_in

impl Clone for ff_effect

impl Clone for Elf32_Chdr

impl Clone for statvfs64

impl Clone for sigevent

impl Clone for glob64_t

impl Clone for sched_param

impl Clone for input_absinfo

impl Clone for protoent

impl Clone for ff_trigger

impl Clone for timezone

impl Clone for user

impl Clone for Elf32_Phdr

impl Clone for DIR

impl Clone for posix_spawnattr_t

impl Clone for fsid_t

impl Clone for sockaddr

impl Clone for rlimit

impl Clone for in6_pktinfo

impl Clone for canfd_frame

impl Clone for cmsghdr

impl Clone for sockaddr_un

impl Clone for _libc_fpxreg

impl Clone for signalfd_siginfo

impl Clone for ifaddrs

impl Clone for statx_timestamp

impl Clone for input_mask

impl Clone for statfs

impl Clone for ff_condition_effect

impl Clone for __c_anonymous_sockaddr_can_tp

impl Clone for FILE

impl Clone for rusage

impl Clone for linger

impl Clone for nl_mmap_hdr

impl Clone for aiocb

impl Clone for utimbuf

impl Clone for itimerval

impl Clone for dqblk

impl Clone for cpu_set_t

impl Clone for user_regs_struct

impl Clone for utmpx

impl Clone for dirent64

impl Clone for pthread_condattr_t

impl Clone for spwd

impl Clone for Elf32_Ehdr

impl Clone for pthread_rwlock_t

impl Clone for _libc_xmmreg

impl Clone for arphdr

impl Clone for stack_t

impl Clone for ff_rumble_effect

impl Clone for timespec

impl Clone for Elf64_Ehdr

impl Clone for pthread_cond_t

impl Clone for ff_replay

impl Clone for in_pktinfo

impl Clone for addrinfo

impl Clone for __timeval

impl Clone for sockaddr_ll

impl Clone for Elf64_Chdr

impl Clone for nl_mmap_req

impl Clone for sysinfo

impl Clone for __c_anonymous_sockaddr_can_can_addr

impl Clone for mallinfo

impl Clone for sock_extended_err

impl Clone for in_addr

impl Clone for sigset_t

impl Clone for input_event

impl Clone for msginfo

impl Clone for input_keymap_entry

impl Clone for pthread_rwlockattr_t

impl Clone for ip_mreqn

impl Clone for ff_periodic_effect

impl Clone for stat64

impl Clone for if_nameindex

impl Clone for fpos_t

impl Clone for pthread_attr_t

impl Clone for Elf64_Sym

impl Clone for fanotify_response

impl Clone for servent

impl Clone for mcontext_t

impl Clone for Elf32_Sym

impl Clone for Elf64_Phdr

impl Clone for nlmsgerr

impl Clone for ucontext_t

impl Clone for pthread_mutexattr_t

impl Clone for sockaddr_can

impl Clone for af_alg_iv

impl Clone for siginfo_t

impl Clone for max_align_t

impl Clone for hostent

impl Clone for input_id

impl Clone for can_frame

impl Clone for rlimit64

impl Clone for ip_mreq

impl Clone for sockaddr_vm

impl Clone for user_fpregs_struct

impl Clone for nlattr

impl Clone for sembuf

impl Clone for sockaddr_in6

impl Clone for ucred

impl Clone for __c_anonymous_sockaddr_can_j1939

impl Clone for flock

impl Clone for msqid_ds

impl Clone for ipc_perm

impl Clone for tm

impl Clone for in6_addr

impl Clone for stat

impl Clone for fanotify_event_metadata

impl Clone for ff_envelope

impl Clone for Elf64_Shdr

impl Clone for __exit_status

impl Clone for timex

impl Clone for genlmsghdr

impl Clone for sockaddr_alg

impl Clone for ff_ramp_effect

impl Clone for pthread_mutex_t

impl Clone for pollfd

impl Clone for lconv

impl Clone for mmsghdr

impl Clone for ff_constant_effect

impl Clone for timeval

impl<S, A> Clone for Pattern<S, A> where
    A: Clone + DFA<ID = S>,
    S: Clone + StateID, 

impl<'a, S, A> Clone for Matcher<'a, S, A> where
    A: Clone + DFA<ID = S>,
    S: Clone + StateID, 

impl<T, S> Clone for Standard<T, S> where
    T: Clone + AsRef<[S]>,
    S: StateID + Clone

impl<D> Clone for Regex<D> where
    D: DFA + Clone

impl<T, S> Clone for ByteClass<T, S> where
    T: Clone + AsRef<[S]>,
    S: StateID + Clone

impl Clone for RegexBuilder

impl<T, S> Clone for Standard<T, S> where
    T: Clone + AsRef<[u8]>,
    S: StateID + Clone

impl<T, S> Clone for SparseDFA<T, S> where
    T: Clone + AsRef<[u8]>,
    S: StateID + Clone

impl<T, S> Clone for PremultipliedByteClass<T, S> where
    T: Clone + AsRef<[S]>,
    S: StateID + Clone

impl<T, S> Clone for ByteClass<T, S> where
    T: Clone + AsRef<[u8]>,
    S: StateID + Clone

impl Clone for ErrorKind

impl<T, S> Clone for Premultiplied<T, S> where
    T: Clone + AsRef<[S]>,
    S: StateID + Clone

impl Clone for Builder

impl<T, S> Clone for DenseDFA<T, S> where
    T: Clone + AsRef<[S]>,
    S: StateID + Clone

impl Clone for Error

impl Clone for BigEndian

impl Clone for LittleEndian

impl Clone for Infix

impl Clone for Colour

impl Clone for Prefix

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);

impl Clone for Style

impl Clone for Suffix

impl Clone for Value[src]

impl Clone for Category[src]

impl Clone for Map<String, Value>[src]

impl Clone for Number[src]

impl<'a> Clone for PrettyFormatter<'a>[src]

impl Clone for CompactFormatter[src]

impl Clone for Buffer[src]

impl Clone for Buffer[src]

impl Clone for DefaultConfig[src]

impl Clone for Pad[src]

impl Clone for Weekday[src]

impl Clone for Fixed[src]

impl Clone for FixedOffset[src]

impl Clone for ParseWeekdayError[src]

impl<Tz> Clone for Date<Tz> where
    Tz: TimeZone + Clone,
    <Tz as TimeZone>::Offset: Clone
[src]

impl Clone for IsoWeek[src]

impl<'a> Clone for Item<'a>[src]

impl Clone for InternalNumeric[src]

impl Clone for NaiveTime[src]

impl Clone for Parsed[src]

impl Clone for Utc[src]

impl<'a> Clone for StrftimeItems<'a>[src]

impl Clone for NaiveDate[src]

impl Clone for ParseError[src]

impl Clone for SecondsFormat[src]

impl Clone for Local[src]

impl Clone for Month[src]

impl Clone for Numeric[src]

impl<Tz> Clone for DateTime<Tz> where
    Tz: TimeZone + Clone,
    <Tz as TimeZone>::Offset: Clone
[src]

impl Clone for InternalFixed[src]

impl Clone for NaiveDateTime[src]

impl Clone for RoundingError[src]

impl<T> Clone for LocalResult<T> where
    T: Clone
[src]

impl Clone for ParseMonthError[src]

impl Clone for PreciseTime[src]

impl Clone for OutOfRangeError[src]

impl Clone for ParseError[src]

impl Clone for SteadyTime[src]

impl Clone for Tm[src]

impl Clone for Duration[src]

impl Clone for Timespec[src]

impl<A> Clone for ExtendedGcd<A> where
    A: Clone
[src]

impl Clone for Bytes[src]

impl Clone for Capabilities[src]

impl<'clone> Clone for Box<dyn SpawnNamed + 'clone + Send, Global>[src]

impl Clone for CryptoTypeId[src]

impl Clone for LogLevel[src]

impl Clone for PublicError[src]

impl Clone for MissingHostFunctions[src]

impl Clone for AccountId32[src]

impl Clone for PublicError[src]

impl Clone for Timestamp[src]

impl Clone for TestPersistentOffchainDB[src]

impl Clone for KeyTypeId[src]

impl Clone for Pair[src]

impl Clone for ParseError[src]

impl Clone for OpaquePeerId[src]

impl Clone for LocalizedSignature[src]

impl Clone for EnvironmentDefinition[src]

impl Clone for Signature[src]

impl Clone for Public[src]

impl Clone for HttpError[src]

impl Clone for Pair[src]

impl Clone for TestOffchainExt[src]

impl Clone for Duration[src]

impl<'clone> Clone for Box<dyn SpawnNamed + 'clone + Send + Sync, Global>[src]

impl Clone for DeriveJunction[src]

impl Clone for StorageKind[src]

impl Clone for Public[src]

impl<'clone> Clone for Box<dyn SpawnNamed + 'clone + Sync, Global>[src]

impl<'clone> Clone for Box<dyn SpawnNamed + 'clone, Global>[src]

impl Clone for Entry[src]

impl Clone for Pair[src]

impl Clone for Public[src]

impl Clone for Signature[src]

impl Clone for Ss58AddressFormat[src]

impl Clone for PublicError[src]

impl Clone for Dummy[src]

impl Clone for LocalizedSignature[src]

impl Clone for TaskExecutor[src]

impl Clone for CryptoTypePublicPair[src]

impl Clone for SecretStringError[src]

impl Clone for Capability[src]

impl Clone for HttpRequestId[src]

impl Clone for OpaqueMultiaddr[src]

impl Clone for ExternEntity[src]

impl<'a> Clone for RuntimeCode<'a>[src]

impl Clone for OffchainOverlayedChange[src]

impl Clone for InMemOffchainStorage[src]

impl<Number, Hash> Clone for ChangesTrieConfigurationRange<Number, Hash> where
    Hash: Clone,
    Number: Clone
[src]

impl Clone for Signature[src]

impl Clone for ChangesTrieConfiguration[src]

impl Clone for OpaqueNetworkState[src]

impl Clone for HttpRequestStatus[src]

impl<T> Clone for Pointer<T> where
    T: PointerType + Clone
[src]

impl Clone for ValueType[src]

impl Clone for Value[src]

impl Clone for ReturnValue[src]

impl Clone for Signature[src]

impl Clone for RuntimeValue

impl Clone for ExternVal

impl Clone for ValueType

impl Clone for MemoryRef

impl Clone for GlobalRef

impl Clone for Signature

impl Clone for FuncRef

impl Clone for TableRef

impl Clone for ModuleRef

impl Clone for F32

impl Clone for F64

impl Clone for Pages

impl Clone for Pages

impl Clone for Words

impl Clone for Words

impl Clone for Bytes

impl Clone for VarInt32

impl Clone for Error

impl Clone for InitExpr

impl Clone for VarUint32

impl Clone for ExportEntry

impl Clone for FunctionSection

impl Clone for Section

impl Clone for ImportEntry

impl Clone for DataSection

impl Clone for FunctionNameSubsection

impl Clone for ImportCountType

impl Clone for Type

impl Clone for VarUint64

impl Clone for Module

impl Clone for Func

impl Clone for External

impl Clone for GlobalSection

impl Clone for Internal

impl Clone for ValueType

impl Clone for FuncBody

impl<T> Clone for CountedList<T> where
    T: Deserialize + Clone

impl Clone for Uint8

impl Clone for BlockType

impl Clone for RelocationEntry

impl Clone for ElementSegment

impl Clone for ExportSection

impl Clone for GlobalEntry

impl Clone for MemoryType

impl Clone for DataSegment

impl Clone for FunctionType

impl Clone for ModuleNameSubsection

impl Clone for TableSection

impl Clone for MemorySection

impl Clone for ResizableLimits

impl Clone for ElementSection

impl Clone for Instructions

impl Clone for TableType

impl Clone for Uint32

impl Clone for LocalNameSubsection

impl Clone for Uint64

impl Clone for CustomSection

impl Clone for ImportSection

impl Clone for VarUint7

impl Clone for VarUint1

impl Clone for NameSection

impl Clone for Instruction

impl Clone for BrTableData

impl Clone for GlobalType

impl<I, T> Clone for CountedListWriter<I, T> where
    I: Clone + Serialize<Error = Error>,
    T: Clone + IntoIterator<Item = I>, 

impl<T> Clone for IndexMap<T> where
    T: Clone

impl Clone for CodeSection

impl Clone for RelocSection

impl Clone for VarInt7

impl Clone for TypeSection

impl Clone for TableElementType

impl Clone for Local

impl Clone for VarInt64

impl Clone for StartedWith

impl Clone for StackValueType

impl Clone for BlockFrame

impl Clone for ParseRatioError[src]

impl<T> Clone for Ratio<T> where
    T: Clone
[src]

impl Clone for BigUint[src]

impl Clone for ParseBigIntError[src]

impl Clone for BigInt[src]

impl Clone for Sign[src]

impl Clone for Errno

impl Clone for StorageData[src]

impl Clone for ChildTrieParentKeyId[src]

impl Clone for PrefixedStorageKey[src]

impl Clone for TrackedStorageKey[src]

impl Clone for Storage[src]

impl Clone for StorageChild[src]

impl Clone for StorageKey[src]

impl Clone for U512

impl Clone for H128

impl Clone for H256

impl Clone for H160

impl Clone for U128

impl Clone for H512

impl Clone for U256

impl Clone for FromHexError

impl<X> Clone for UniformInt<X> where
    X: Clone
[src]

impl Clone for Open01[src]

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

impl Clone for SmallRng[src]

impl Clone for OpenClosed01[src]

impl Clone for IndexVec[src]

impl Clone for IndexVecIntoIter[src]

impl Clone for BernoulliError[src]

impl Clone for WeightedError[src]

impl<X> Clone for Uniform<X> where
    X: SampleUniform + Clone,
    <X as SampleUniform>::Sampler: Clone
[src]

impl Clone for ThreadRng[src]

impl Clone for Bernoulli[src]

impl Clone for UniformDuration[src]

impl Clone for StepRng[src]

impl Clone for UniformChar[src]

impl<X> Clone for UniformFloat<X> where
    X: Clone
[src]

impl Clone for StdRng[src]

impl Clone for Standard[src]

impl<X> Clone for WeightedIndex<X> where
    X: SampleUniform + Clone + PartialOrd<X>,
    <X as SampleUniform>::Sampler: Clone
[src]

impl<R> Clone for BlockRng64<R> where
    R: BlockRngCore + Clone + ?Sized,
    <R as BlockRngCore>::Results: Clone
[src]

impl<R> Clone for BlockRng<R> where
    R: BlockRngCore + Clone + ?Sized,
    <R as BlockRngCore>::Results: Clone
[src]

impl Clone for OsRng[src]

impl Clone for Error[src]

impl Clone for ChaCha12Rng[src]

impl Clone for ChaCha12Core[src]

impl Clone for ChaCha20Rng[src]

impl Clone for ChaCha20Core[src]

impl Clone for ChaCha8Core[src]

impl Clone for ChaCha8Rng[src]

impl Clone for vec128_storage

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

impl Clone for NoA1

impl Clone for NoS4

impl Clone for YesA2

impl Clone for YesNI

impl Clone for YesS4

impl Clone for vec512_storage

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

impl Clone for NoA2

impl Clone for NoNI

impl Clone for YesS3

impl Clone for YesA1

impl Clone for vec256_storage

impl Clone for NoS3

impl Clone for FromStrRadixErrKind

impl Clone for FromHexError[src]

impl Clone for Blake2sResult

impl Clone for Blake2bResult

impl Clone for Blake2b

impl Clone for Blake2s

impl<A> Clone for ArrayVec<A> where
    A: Array,
    <A as Array>::Item: Clone
[src]

impl<A> Clone for IntoIter<A> where
    A: Array,
    <A as Array>::Item: Clone
[src]

impl<A> Clone for ArrayString<A> where
    A: Array<Item = u8> + Copy
[src]

impl<T> Clone for CapacityError<T> where
    T: Clone
[src]

impl Clone for Sha512Trunc256

impl Clone for Sha512Trunc224

impl Clone for Sha512

impl Clone for Sha256

impl Clone for Sha384

impl Clone for Sha224

impl<BlockSize> Clone for BlockBuffer<BlockSize> where
    BlockSize: Clone + ArrayLength<u8>, 

impl<T, N> Clone for GenericArray<T, N> where
    T: Clone,
    N: ArrayLength<T>, 

impl<T, N> Clone for GenericArrayIter<T, N> where
    T: Clone,
    N: ArrayLength<T>, 

impl Clone for Less

impl Clone for Z0

impl<V, A> Clone for TArr<V, A> where
    A: Clone,
    V: Clone

impl Clone for UTerm

impl<U> Clone for PInt<U> where
    U: NonZero + Unsigned + Clone

impl Clone for Equal

impl Clone for B1

impl<U, B> Clone for UInt<U, B> where
    B: Clone,
    U: Clone

impl Clone for Greater

impl Clone for ATerm

impl Clone for B0

impl<U> Clone for NInt<U> where
    U: NonZero + Unsigned + Clone

impl Clone for Iso7816

impl Clone for Pkcs7

impl Clone for ZeroPadding

impl Clone for NoPadding

impl Clone for AnsiX923

impl Clone for PadError

impl Clone for UnpadError

impl Clone for Box<dyn DynDigest + 'static, Global>

impl Clone for InvalidOutputSize

impl Clone for Keccak

impl Clone for RandomXxHashBuilder64

impl Clone for RandomHashBuilder128

impl Clone for RandomXxHashBuilder32

impl Clone for RandomHashBuilder64

impl Clone for Hash128

impl Clone for XxHash64

impl Clone for XxHash32

impl Clone for Hash64

impl Clone for StdRng[src]

impl Clone for Open01[src]

impl Clone for ThreadRng[src]

impl Clone for StepRng[src]

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

impl Clone for UnitCircle[src]

impl Clone for Weibull[src]

impl Clone for StudentT[src]

impl Clone for Bernoulli[src]

impl<X> Clone for UniformFloat<X> where
    X: Clone
[src]

impl Clone for Standard[src]

impl Clone for Exp[src]

impl<X> Clone for UniformInt<X> where
    X: Clone
[src]

impl Clone for OpenClosed01[src]

impl Clone for Dirichlet[src]

impl Clone for WeightedError[src]

impl Clone for Beta[src]

impl<X> Clone for WeightedIndex<X> where
    X: SampleUniform + Clone + PartialOrd<X>,
    <X as SampleUniform>::Sampler: Clone
[src]

impl Clone for UnitSphereSurface[src]

impl Clone for SmallRng[src]

impl Clone for IndexVec[src]

impl Clone for Triangular[src]

impl Clone for StandardNormal[src]

impl Clone for Gamma[src]

impl<X> Clone for Uniform<X> where
    X: SampleUniform + Clone,
    <X as SampleUniform>::Sampler: Clone
[src]

impl Clone for FisherF[src]

impl Clone for Normal[src]

impl<W> Clone for WeightedIndex<W> where
    W: Weight,
    Uniform<W>: Clone
[src]

impl Clone for BernoulliError[src]

impl Clone for IndexVecIntoIter[src]

impl Clone for Binomial[src]

impl Clone for LogNormal[src]

impl Clone for Cauchy[src]

impl Clone for Pareto[src]

impl Clone for UniformDuration[src]

impl Clone for ChiSquared[src]

impl Clone for Exp1[src]

impl Clone for Poisson[src]

impl<R> Clone for BlockRng64<R> where
    R: BlockRngCore + Clone + ?Sized,
    <R as BlockRngCore>::Results: Clone
[src]

impl<R> Clone for BlockRng<R> where
    R: BlockRngCore + Clone + ?Sized,
    <R as BlockRngCore>::Results: Clone
[src]

impl Clone for OsRng[src]

impl Clone for Error[src]

impl Clone for ChaCha8Rng[src]

impl Clone for ChaCha12Rng[src]

impl Clone for ChaCha20Rng[src]

impl Clone for ChaCha12Core[src]

impl Clone for ChaCha20Core[src]

impl Clone for ChaCha8Core[src]

impl Clone for Lcg128Xsl64[src]

impl Clone for Mcg128Xsl64[src]

impl Clone for Lcg64Xsh32[src]

impl<Z> Clone for Zeroizing<Z> where
    Z: Zeroize + Clone
[src]

impl<S> Clone for Secret<S> where
    S: CloneableSecret
[src]

impl Clone for PublicKey

impl Clone for Signature[src]

impl Clone for Scalar[src]

impl Clone for EdwardsPoint[src]

impl Clone for RistrettoPoint[src]

impl Clone for EdwardsBasepointTable[src]

impl Clone for CompressedRistretto[src]

impl Clone for CompressedEdwardsY[src]

impl Clone for MontgomeryPoint[src]

impl Clone for RistrettoBasepointTable[src]

impl<T> Clone for CtOption<T> where
    T: Clone
[src]

impl Clone for Choice[src]

impl Clone for Error

impl Clone for Sha512Trunc256

impl Clone for Sha384

impl Clone for Sha512

impl Clone for Sha224

impl Clone for Sha512Trunc224

impl Clone for Sha256

impl<BlockSize> Clone for BlockBuffer<BlockSize> where
    BlockSize: Clone + ArrayLength<u8>, 

impl Clone for PadError

impl Clone for UnpadError

impl<T, N> Clone for GenericArray<T, N> where
    T: Clone,
    N: ArrayLength<T>, 

impl<T, N> Clone for GenericArrayIter<T, N> where
    T: Clone,
    N: ArrayLength<T>, 

impl Clone for u64x2

impl Clone for u32x4

impl Clone for InvalidOutputSize

impl Clone for Box<dyn DynDigest + 'static, Global>

impl<D> Clone for Hmac<D> where
    D: Input + BlockInput + FixedOutput + Reset + Default + Clone,
    <D as BlockInput>::BlockSize: ArrayLength<u8>, 

impl Clone for MacError

impl Clone for InvalidKeyLength

impl<N> Clone for MacResult<N> where
    N: Clone + ArrayLength<u8>, 

impl Clone for Choice

impl<T> Clone for Malleable<T> where
    T: SigningTranscript + Clone

impl Clone for Cosignature

impl Clone for VRFProof

impl Clone for VRFOutput

impl Clone for VRFInOut

impl Clone for Reveal

impl Clone for Signature

impl Clone for MultiSignatureStage

impl Clone for ChainCode

impl Clone for RistrettoBoth

impl Clone for SecretKey

impl Clone for Keypair

impl<K> Clone for ExtendedKey<K> where
    K: Clone

impl Clone for Commitment

impl Clone for VRFProofBatchable

impl Clone for ECQVCertPublic

impl Clone for ECQVCertSecret

impl Clone for MiniSecretKey

impl Clone for SignatureError

impl Clone for PublicKey

impl Clone for SigningContext

impl Clone for EdwardsPoint[src]

impl Clone for MontgomeryPoint[src]

impl Clone for Scalar[src]

impl Clone for RistrettoPoint[src]

impl Clone for RistrettoBasepointTable[src]

impl Clone for CompressedEdwardsY[src]

impl Clone for CompressedRistretto[src]

impl Clone for EdwardsBasepointTable[src]

impl Clone for Transcript[src]

impl Clone for MnemonicType

impl Clone for Mnemonic

impl Clone for Seed

impl Clone for Language

impl<'a> Clone for Chain<'a>[src]

impl<I> Clone for Recompositions<I> where
    I: Clone

impl<I> Clone for Decompositions<I> where
    I: Clone

impl<A> Clone for TinyVec<A> where
    A: Array + Clone,
    <A as Array>::Item: Clone

impl<A> Clone for ArrayVec<A> where
    A: Array + Clone

impl<D> Clone for Hmac<D> where
    D: Update + BlockInput + FixedOutput + Reset + Default + Clone,
    <D as BlockInput>::BlockSize: ArrayLength<u8>, 

impl Clone for InvalidKeyLength

impl<M> Clone for Output<M> where
    M: Mac + Clone,
    <M as Mac>::OutputSize: Clone

impl Clone for MacError

impl Clone for AffineStorage

impl Clone for SecretKey

impl Clone for Affine

impl Clone for Jacobian

impl Clone for PublicKey

impl Clone for Field

impl<D> Clone for SharedSecret<D> where
    D: Clone + Digest,
    <D as Digest>::OutputSize: Clone

impl Clone for Message