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 Clone for ExitStatusError
impl Clone for ExitStatusError
fn clone(&self) -> ExitStatusError
sourceimpl<T> Clone for Sender<T>
impl<T> Clone for Sender<T>
sourcefn clone(&self) -> Sender<T>
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.
sourceimpl Clone for Permissions
impl Clone for Permissions
fn clone(&self) -> Permissions
1.29.0 · sourceimpl Clone for Box<OsStr, Global>
impl Clone for Box<OsStr, Global>
fn clone(&self) -> Box<OsStr, Global>ⓘNotable traits for Box<I, A>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;
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;
1.8.0 · sourceimpl Clone for SystemTime
impl Clone for SystemTime
fn clone(&self) -> SystemTime
sourceimpl Clone for SocketAddrV6
impl Clone for SocketAddrV6
fn clone(&self) -> SocketAddrV6
sourceimpl Clone for TryRecvError
impl Clone for TryRecvError
fn clone(&self) -> TryRecvError
sourceimpl<T> Clone for SyncOnceCell<T> where
T: Clone,
impl<T> Clone for SyncOnceCell<T> where
T: Clone,
fn clone(&self) -> SyncOnceCell<T>
1.7.0 · sourceimpl Clone for RandomState
impl Clone for RandomState
fn clone(&self) -> RandomState
sourceimpl<'_, T, S> Clone for Difference<'_, T, S>
impl<'_, T, S> Clone for Difference<'_, T, S>
fn clone(&self) -> Difference<'_, T, S>ⓘNotable traits for Difference<'a, T, S>impl<'a, T, S> Iterator for Difference<'a, T, S> where
T: Eq + Hash,
S: BuildHasher, type Item = &'a T;
T: Eq + Hash,
S: BuildHasher, type Item = &'a T;
1.7.0 · sourceimpl Clone for StripPrefixError
impl Clone for StripPrefixError
fn clone(&self) -> StripPrefixError
sourceimpl Clone for Ipv6MulticastScope
impl Clone for Ipv6MulticastScope
fn clone(&self) -> Ipv6MulticastScope
1.13.0 · sourceimpl Clone for DefaultHasher
impl Clone for DefaultHasher
fn clone(&self) -> DefaultHasher
sourceimpl Clone for ExitStatus
impl Clone for ExitStatus
fn clone(&self) -> ExitStatus
sourceimpl<'a> Clone for PrefixComponent<'a>
impl<'a> Clone for PrefixComponent<'a>
fn clone(&self) -> PrefixComponent<'a>
sourceimpl Clone for SocketCred
impl Clone for SocketCred
fn clone(&self) -> SocketCred
sourceimpl<T> Clone for TrySendError<T> where
T: Clone,
impl<T> Clone for TrySendError<T> where
T: Clone,
fn clone(&self) -> TrySendError<T>
sourceimpl Clone for OpenOptions
impl Clone for OpenOptions
fn clone(&self) -> OpenOptions
1.10.0 · sourceimpl Clone for SocketAddr
impl Clone for SocketAddr
fn clone(&self) -> SocketAddr
1.26.0 · sourceimpl Clone for AccessError
impl Clone for AccessError
fn clone(&self) -> AccessError
1.29.0 · sourceimpl Clone for Box<Path, Global>
impl Clone for Box<Path, Global>
fn clone(&self) -> Box<Path, Global>ⓘNotable traits for Box<I, A>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;
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 AddrParseError
impl Clone for AddrParseError
fn clone(&self) -> AddrParseError
sourceimpl<'_, T, S> Clone for Intersection<'_, T, S>
impl<'_, T, S> Clone for Intersection<'_, T, S>
fn clone(&self) -> Intersection<'_, T, S>ⓘNotable traits for Intersection<'a, T, S>impl<'a, T, S> Iterator for Intersection<'a, T, S> where
T: Eq + Hash,
S: BuildHasher, type Item = &'a T;
T: Eq + Hash,
S: BuildHasher, type Item = &'a T;
sourceimpl<'_, T, S> Clone for SymmetricDifference<'_, T, S>
impl<'_, T, S> Clone for SymmetricDifference<'_, T, S>
fn clone(&self) -> SymmetricDifference<'_, T, S>ⓘNotable traits for SymmetricDifference<'a, T, S>impl<'a, T, S> Iterator for SymmetricDifference<'a, T, S> where
T: Eq + Hash,
S: BuildHasher, type Item = &'a T;
T: Eq + Hash,
S: BuildHasher, type Item = &'a T;
sourceimpl Clone for BacktraceStyle
impl Clone for BacktraceStyle
fn clone(&self) -> BacktraceStyle
1.8.0 · sourceimpl Clone for SystemTimeError
impl Clone for SystemTimeError
fn clone(&self) -> SystemTimeError
sourceimpl Clone for SocketAddrV4
impl Clone for SocketAddrV4
fn clone(&self) -> SocketAddrV4
sourceimpl Clone for SocketAddr
impl Clone for SocketAddr
fn clone(&self) -> SocketAddr
1.5.0 · sourceimpl Clone for WaitTimeoutResult
impl Clone for WaitTimeoutResult
fn clone(&self) -> WaitTimeoutResult
sourceimpl<T> Clone for SyncSender<T>
impl<T> Clone for SyncSender<T>
fn clone(&self) -> SyncSender<T>
sourceimpl<'fd> Clone for BorrowedFd<'fd>
impl<'fd> Clone for BorrowedFd<'fd>
fn clone(&self) -> BorrowedFd<'fd>
1.12.0 · sourceimpl Clone for RecvTimeoutError
impl Clone for RecvTimeoutError
fn clone(&self) -> RecvTimeoutError
sourceimpl<'a> Clone for Components<'a>
impl<'a> Clone for Components<'a>
fn clone(&self) -> Components<'a>ⓘNotable traits for Components<'a>impl<'a> Iterator for Components<'a> type Item = Component<'a>;
impl<'_, T> !Clone for &'_ mut T where
T: ?Sized,
Shared references can be cloned, but mutable references cannot!
const: unstable · 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!
sourceimpl<T> Clone for LinkedList<T> where
T: Clone,
impl<T> Clone for LinkedList<T> where
T: Clone,
fn clone(&self) -> LinkedList<T>
fn clone_from(&mut self, other: &LinkedList<T>)
1.3.0 · sourceimpl Clone for Box<str, Global>
impl Clone for Box<str, Global>
fn clone(&self) -> Box<str, Global>ⓘNotable traits for Box<I, A>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;
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;
1.29.0 · sourceimpl Clone for Box<CStr, Global>
impl Clone for Box<CStr, Global>
fn clone(&self) -> Box<CStr, Global>ⓘNotable traits for Box<I, A>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;
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<'_, T> Clone for Intersection<'_, T>
impl<'_, T> Clone for Intersection<'_, T>
fn clone(&self) -> Intersection<'_, T>ⓘNotable traits for Intersection<'a, T>impl<'a, T> Iterator for Intersection<'a, T> where
T: Ord, type Item = &'a T;
T: Ord, type Item = &'a T;
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,
sourcefn clone(&self) -> Box<T, A>ⓘNotable traits for Box<I, A>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;
fn clone(&self) -> Box<T, A>ⓘNotable traits for Box<I, A>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;
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);
sourcefn clone_from(&mut self, source: &Box<T, A>)
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 Clone for IntoStringError
impl Clone for IntoStringError
fn clone(&self) -> IntoStringError
sourceimpl<'_, T> Clone for SymmetricDifference<'_, T>
impl<'_, T> Clone for SymmetricDifference<'_, T>
fn clone(&self) -> SymmetricDifference<'_, T>ⓘNotable traits for SymmetricDifference<'a, T>impl<'a, T> Iterator for SymmetricDifference<'a, T> where
T: Ord, type Item = &'a T;
T: Ord, type Item = &'a T;
sourceimpl<'_, T> Clone for Difference<'_, T>
impl<'_, T> Clone for Difference<'_, T>
fn clone(&self) -> Difference<'_, T>ⓘNotable traits for Difference<'a, T>impl<'a, T> Iterator for Difference<'a, T> where
T: Ord, type Item = &'a T;
T: Ord, type Item = &'a T;
sourceimpl Clone for FromVecWithNulError
impl Clone for FromVecWithNulError
fn clone(&self) -> FromVecWithNulError
sourceimpl<T> Clone for IntoIterSorted<T> where
T: Clone,
impl<T> Clone for IntoIterSorted<T> where
T: Clone,
fn clone(&self) -> IntoIterSorted<T>ⓘNotable traits for IntoIterSorted<T>impl<T> Iterator for IntoIterSorted<T> where
T: Ord, type Item = T;
T: Ord, type Item = T;
sourceimpl Clone for TryReserveErrorKind
impl Clone for TryReserveErrorKind
fn clone(&self) -> TryReserveErrorKind
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,
fn clone(&self) -> Box<[T], A>ⓘNotable traits for Box<I, A>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;
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;
fn clone_from(&mut self, other: &Box<[T], A>)
1.57.0 · sourceimpl Clone for TryReserveError
impl Clone for TryReserveError
fn clone(&self) -> TryReserveError
sourceimpl<T> Clone for BinaryHeap<T> where
T: Clone,
impl<T> Clone for BinaryHeap<T> where
T: Clone,
fn clone(&self) -> BinaryHeap<T>
fn clone_from(&mut self, source: &BinaryHeap<T>)
sourceimpl Clone for FromUtf8Error
impl Clone for FromUtf8Error
fn clone(&self) -> FromUtf8Error
sourceimpl Clone for _Unwind_Action
impl Clone for _Unwind_Action
fn clone(&self) -> _Unwind_Action
sourceimpl Clone for _Unwind_Reason_Code
impl Clone for _Unwind_Reason_Code
fn clone(&self) -> _Unwind_Reason_Code
sourceimpl Clone for Endianness
impl Clone for Endianness
fn clone(&self) -> Endianness
sourceimpl<Section> Clone for SymbolFlags<Section> where
Section: Clone,
impl<Section> Clone for SymbolFlags<Section> where
Section: Clone,
fn clone(&self) -> SymbolFlags<Section>
sourceimpl<E> Clone for ProgramHeader64<E> where
E: Clone + Endian,
impl<E> Clone for ProgramHeader64<E> where
E: Clone + Endian,
fn clone(&self) -> ProgramHeader64<E>
sourceimpl Clone for SegmentFlags
impl Clone for SegmentFlags
fn clone(&self) -> SegmentFlags
sourceimpl<'data, R> Clone for StringTable<'data, R> where
R: Clone + ReadRef<'data>,
impl<'data, R> Clone for StringTable<'data, R> where
R: Clone + ReadRef<'data>,
fn clone(&self) -> StringTable<'data, R>
sourceimpl Clone for LittleEndian
impl Clone for LittleEndian
fn clone(&self) -> LittleEndian
sourceimpl Clone for ProgramHeader
impl Clone for ProgramHeader
fn clone(&self) -> ProgramHeader
sourceimpl Clone for SymbolIndex
impl Clone for SymbolIndex
fn clone(&self) -> SymbolIndex
sourceimpl<E> Clone for NoteHeader32<E> where
E: Clone + Endian,
impl<E> Clone for NoteHeader32<E> where
E: Clone + Endian,
fn clone(&self) -> NoteHeader32<E>
sourceimpl<'data, Elf, R> Clone for SymbolTable<'data, Elf, R> where
Elf: Clone + FileHeader,
R: Clone + ReadRef<'data>,
<Elf as FileHeader>::Sym: Clone,
impl<'data, Elf, R> Clone for SymbolTable<'data, Elf, R> where
Elf: Clone + FileHeader,
R: Clone + ReadRef<'data>,
<Elf as FileHeader>::Sym: Clone,
fn clone(&self) -> SymbolTable<'data, Elf, R>
sourceimpl Clone for FileHeader
impl Clone for FileHeader
fn clone(&self) -> FileHeader
sourceimpl<'data, Elf> Clone for VersionTable<'data, Elf> where
Elf: Clone + FileHeader,
<Elf as FileHeader>::Endian: Clone,
impl<'data, Elf> Clone for VersionTable<'data, Elf> where
Elf: Clone + FileHeader,
<Elf as FileHeader>::Endian: Clone,
fn clone(&self) -> VersionTable<'data, Elf>
sourceimpl<T> Clone for SymbolMap<T> where
T: Clone + SymbolMapEntry,
impl<T> Clone for SymbolMap<T> where
T: Clone + SymbolMapEntry,
sourceimpl<'data> Clone for CompressedData<'data>
impl<'data> Clone for CompressedData<'data>
fn clone(&self) -> CompressedData<'data>
sourceimpl Clone for SectionKind
impl Clone for SectionKind
fn clone(&self) -> SectionKind
sourceimpl Clone for SymbolSection
impl Clone for SymbolSection
fn clone(&self) -> SymbolSection
sourceimpl<'data, Elf> Clone for VerdefIterator<'data, Elf> where
Elf: Clone + FileHeader,
<Elf as FileHeader>::Endian: Clone,
impl<'data, Elf> Clone for VerdefIterator<'data, Elf> where
Elf: Clone + FileHeader,
<Elf as FileHeader>::Endian: Clone,
fn clone(&self) -> VerdefIterator<'data, Elf>
sourceimpl<E> Clone for FileHeader32<E> where
E: Clone + Endian,
impl<E> Clone for FileHeader32<E> where
E: Clone + Endian,
fn clone(&self) -> FileHeader32<E>
sourceimpl Clone for AddressSize
impl Clone for AddressSize
fn clone(&self) -> AddressSize
sourceimpl<E> Clone for NoteHeader64<E> where
E: Clone + Endian,
impl<E> Clone for NoteHeader64<E> where
E: Clone + Endian,
fn clone(&self) -> NoteHeader64<E>
sourceimpl<E> Clone for GnuHashHeader<E> where
E: Clone + Endian,
impl<E> Clone for GnuHashHeader<E> where
E: Clone + Endian,
fn clone(&self) -> GnuHashHeader<E>
sourceimpl Clone for RelocationKind
impl Clone for RelocationKind
fn clone(&self) -> RelocationKind
sourceimpl<'data> Clone for SymbolMapName<'data>
impl<'data> Clone for SymbolMapName<'data>
fn clone(&self) -> SymbolMapName<'data>
sourceimpl Clone for StandardSegment
impl Clone for StandardSegment
fn clone(&self) -> StandardSegment
sourceimpl Clone for SectionIndex
impl Clone for SectionIndex
fn clone(&self) -> SectionIndex
sourceimpl<'data, Elf, R> Clone for SectionTable<'data, Elf, R> where
Elf: Clone + FileHeader,
R: Clone + ReadRef<'data>,
<Elf as FileHeader>::SectionHeader: Clone,
impl<'data, Elf, R> Clone for SectionTable<'data, Elf, R> where
Elf: Clone + FileHeader,
R: Clone + ReadRef<'data>,
<Elf as FileHeader>::SectionHeader: Clone,
fn clone(&self) -> SectionTable<'data, Elf, R>
sourceimpl Clone for RelocationEncoding
impl Clone for RelocationEncoding
fn clone(&self) -> RelocationEncoding
sourceimpl<'data, Elf> Clone for VerdauxIterator<'data, Elf> where
Elf: Clone + FileHeader,
<Elf as FileHeader>::Endian: Clone,
impl<'data, Elf> Clone for VerdauxIterator<'data, Elf> where
Elf: Clone + FileHeader,
<Elf as FileHeader>::Endian: Clone,
fn clone(&self) -> VerdauxIterator<'data, Elf>
sourceimpl Clone for CompressedFileRange
impl Clone for CompressedFileRange
fn clone(&self) -> CompressedFileRange
sourceimpl Clone for ObjectKind
impl Clone for ObjectKind
fn clone(&self) -> ObjectKind
sourceimpl Clone for RelocationTarget
impl Clone for RelocationTarget
fn clone(&self) -> RelocationTarget
sourceimpl Clone for CompressionFormat
impl Clone for CompressionFormat
fn clone(&self) -> CompressionFormat
sourceimpl<E> Clone for CompressionHeader32<E> where
E: Clone + Endian,
impl<E> Clone for CompressionHeader32<E> where
E: Clone + Endian,
fn clone(&self) -> CompressionHeader32<E>
sourceimpl<'data, 'file, Elf, R> Clone for ElfSymbol<'data, 'file, Elf, R> where
'data: 'file,
Elf: Clone + FileHeader,
R: Clone + ReadRef<'data>,
<Elf as FileHeader>::Endian: Clone,
<Elf as FileHeader>::Sym: Clone,
impl<'data, 'file, Elf, R> Clone for ElfSymbol<'data, 'file, Elf, R> where
'data: 'file,
Elf: Clone + FileHeader,
R: Clone + ReadRef<'data>,
<Elf as FileHeader>::Endian: Clone,
<Elf as FileHeader>::Sym: Clone,
sourceimpl<E> Clone for SectionHeader32<E> where
E: Clone + Endian,
impl<E> Clone for SectionHeader32<E> where
E: Clone + Endian,
fn clone(&self) -> SectionHeader32<E>
sourceimpl<'data, Elf> Clone for VernauxIterator<'data, Elf> where
Elf: Clone + FileHeader,
<Elf as FileHeader>::Endian: Clone,
impl<'data, Elf> Clone for VernauxIterator<'data, Elf> where
Elf: Clone + FileHeader,
<Elf as FileHeader>::Endian: Clone,
fn clone(&self) -> VernauxIterator<'data, Elf>
sourceimpl Clone for SymbolScope
impl Clone for SymbolScope
fn clone(&self) -> SymbolScope
sourceimpl Clone for SymbolSection
impl Clone for SymbolSection
fn clone(&self) -> SymbolSection
sourceimpl Clone for ComdatKind
impl Clone for ComdatKind
fn clone(&self) -> ComdatKind
sourceimpl<'data, Elf> Clone for VerneedIterator<'data, Elf> where
Elf: Clone + FileHeader,
<Elf as FileHeader>::Endian: Clone,
impl<'data, Elf> Clone for VerneedIterator<'data, Elf> where
Elf: Clone + FileHeader,
<Elf as FileHeader>::Endian: Clone,
fn clone(&self) -> VerneedIterator<'data, Elf>
sourceimpl<'data, 'file, Elf, R> Clone for ElfSymbolTable<'data, 'file, Elf, R> where
'data: 'file,
Elf: Clone + FileHeader,
R: Clone + ReadRef<'data>,
<Elf as FileHeader>::Endian: Clone,
impl<'data, 'file, Elf, R> Clone for ElfSymbolTable<'data, 'file, Elf, R> where
'data: 'file,
Elf: Clone + FileHeader,
R: Clone + ReadRef<'data>,
<Elf as FileHeader>::Endian: Clone,
fn clone(&self) -> ElfSymbolTable<'data, 'file, Elf, R>
sourceimpl Clone for VersionIndex
impl Clone for VersionIndex
fn clone(&self) -> VersionIndex
sourceimpl Clone for SymbolKind
impl Clone for SymbolKind
fn clone(&self) -> SymbolKind
sourceimpl Clone for SectionIndex
impl Clone for SectionIndex
fn clone(&self) -> SectionIndex
sourceimpl Clone for SectionFlags
impl Clone for SectionFlags
fn clone(&self) -> SectionFlags
sourceimpl<'data> Clone for ObjectMapEntry<'data>
impl<'data> Clone for ObjectMapEntry<'data>
fn clone(&self) -> ObjectMapEntry<'data>
sourceimpl<E> Clone for FileHeader64<E> where
E: Clone + Endian,
impl<E> Clone for FileHeader64<E> where
E: Clone + Endian,
fn clone(&self) -> FileHeader64<E>
sourceimpl<E> Clone for CompressionHeader64<E> where
E: Clone + Endian,
impl<E> Clone for CompressionHeader64<E> where
E: Clone + Endian,
fn clone(&self) -> CompressionHeader64<E>
sourceimpl Clone for SymbolIndex
impl Clone for SymbolIndex
fn clone(&self) -> SymbolIndex
sourceimpl<E> Clone for ProgramHeader32<E> where
E: Clone + Endian,
impl<E> Clone for ProgramHeader32<E> where
E: Clone + Endian,
fn clone(&self) -> ProgramHeader32<E>
sourceimpl<E> Clone for SectionHeader64<E> where
E: Clone + Endian,
impl<E> Clone for SectionHeader64<E> where
E: Clone + Endian,
fn clone(&self) -> SectionHeader64<E>
sourceimpl Clone for Architecture
impl Clone for Architecture
fn clone(&self) -> Architecture
sourceimpl Clone for StandardSection
impl Clone for StandardSection
fn clone(&self) -> StandardSection
sourceimpl<E> Clone for HashHeader<E> where
E: Clone + Endian,
impl<E> Clone for HashHeader<E> where
E: Clone + Endian,
fn clone(&self) -> HashHeader<E>
sourceimpl Clone for BinaryFormat
impl Clone for BinaryFormat
fn clone(&self) -> BinaryFormat
sourceimpl Clone for SectionHeader
impl Clone for SectionHeader
fn clone(&self) -> SectionHeader
impl<T, A> Clone for RawTable<T, A> where
T: Clone,
A: Allocator + Clone,
impl<T, A> Clone for RawTable<T, A> where
T: Clone,
A: Allocator + Clone,
fn clone(&self) -> RawTable<T, A>
fn clone_from(&mut self, source: &RawTable<T, A>)
impl<T, S, A> Clone for HashSet<T, S, A> where
T: Clone,
S: Clone,
A: Allocator + Clone,
impl<T, S, A> Clone for HashSet<T, S, A> where
T: Clone,
S: Clone,
A: Allocator + Clone,
fn clone(&self) -> HashSet<T, S, A>
fn clone_from(&mut self, source: &HashSet<T, S, A>)
impl<'_, K, V> Clone for Values<'_, K, V>
impl<'_, K, V> Clone for Values<'_, K, V>
impl<T> Clone for RawIter<T>
impl<T> Clone for RawIter<T>
impl<K, V, S, A> Clone for HashMap<K, V, S, A> where
K: Clone,
V: Clone,
S: Clone,
A: Allocator + Clone,
impl<K, V, S, A> Clone for HashMap<K, V, S, A> where
K: Clone,
V: Clone,
S: Clone,
A: Allocator + Clone,
fn clone(&self) -> HashMap<K, V, S, A>
fn clone_from(&mut self, source: &HashMap<K, V, S, A>)
impl<'_, K> Clone for Iter<'_, K>
impl<'_, K> Clone for Iter<'_, K>
impl<'_, K, V> Clone for Iter<'_, K, V>
impl<'_, K, V> Clone for Iter<'_, K, V>
impl<'_, K, V> Clone for Keys<'_, K, V>
impl<'_, K, V> Clone for Keys<'_, K, V>
impl<T> Clone for OnceCell<T> where
T: Clone,
impl<T> Clone for OnceCell<T> where
T: Clone,
fn clone(&self) -> OnceCell<T>
fn clone_from(&mut self, source: &OnceCell<T>)
impl Clone for __c_anonymous_ptrace_syscall_info_seccomp
impl Clone for __c_anonymous_ptrace_syscall_info_seccomp
fn clone(&self) -> __c_anonymous_ptrace_syscall_info_seccomp
impl Clone for __c_anonymous_ptrace_syscall_info_exit
impl Clone for __c_anonymous_ptrace_syscall_info_exit
fn clone(&self) -> __c_anonymous_ptrace_syscall_info_exit
impl Clone for __c_anonymous_ptrace_syscall_info_data
impl Clone for __c_anonymous_ptrace_syscall_info_data
fn clone(&self) -> __c_anonymous_ptrace_syscall_info_data
impl Clone for __c_anonymous_sockaddr_can_can_addr
impl Clone for __c_anonymous_sockaddr_can_can_addr
fn clone(&self) -> __c_anonymous_sockaddr_can_can_addr
impl Clone for __c_anonymous_ptrace_syscall_info_entry
impl Clone for __c_anonymous_ptrace_syscall_info_entry
fn clone(&self) -> __c_anonymous_ptrace_syscall_info_entry
sourceimpl<'_, T, S1, S2> Clone for SymmetricDifference<'_, T, S1, S2>
impl<'_, T, S1, S2> Clone for SymmetricDifference<'_, T, S1, S2>
fn clone(&self) -> SymmetricDifference<'_, T, S1, S2>ⓘNotable traits for SymmetricDifference<'a, T, S1, S2>impl<'a, T, S1, S2> Iterator for SymmetricDifference<'a, T, S1, S2> where
T: Eq + Hash,
S1: BuildHasher,
S2: BuildHasher, type Item = &'a T;
T: Eq + Hash,
S1: BuildHasher,
S2: BuildHasher, type Item = &'a T;
sourceimpl<'_, T, S> Clone for Intersection<'_, T, S>
impl<'_, T, S> Clone for Intersection<'_, T, S>
fn clone(&self) -> Intersection<'_, T, S>ⓘNotable traits for Intersection<'a, T, S>impl<'a, T, S> Iterator for Intersection<'a, T, S> where
T: Eq + Hash,
S: BuildHasher, type Item = &'a T;
T: Eq + Hash,
S: BuildHasher, type Item = &'a T;
sourceimpl<'_, T, S> Clone for Difference<'_, T, S>
impl<'_, T, S> Clone for Difference<'_, T, S>
fn clone(&self) -> Difference<'_, T, S>ⓘNotable traits for Difference<'a, T, S>impl<'a, T, S> Iterator for Difference<'a, T, S> where
T: Eq + Hash,
S: BuildHasher, type Item = &'a T;
T: Eq + Hash,
S: BuildHasher, type Item = &'a T;
sourceimpl<E> Clone for IsizeDeserializer<E>
impl<E> Clone for IsizeDeserializer<E>
fn clone(&self) -> IsizeDeserializer<E>
sourceimpl<A> Clone for SeqAccessDeserializer<A> where
A: Clone,
impl<A> Clone for SeqAccessDeserializer<A> where
A: Clone,
fn clone(&self) -> SeqAccessDeserializer<A>
sourceimpl<E> Clone for I128Deserializer<E>
impl<E> Clone for I128Deserializer<E>
fn clone(&self) -> I128Deserializer<E>
sourceimpl<'a, E> Clone for BytesDeserializer<'a, E>
impl<'a, E> Clone for BytesDeserializer<'a, E>
fn clone(&self) -> BytesDeserializer<'a, E>
sourceimpl<E> Clone for I8Deserializer<E>
impl<E> Clone for I8Deserializer<E>
fn clone(&self) -> I8Deserializer<E>
sourceimpl<'de, E> Clone for StrDeserializer<'de, E>
impl<'de, E> Clone for StrDeserializer<'de, E>
fn clone(&self) -> StrDeserializer<'de, E>
sourceimpl<'de, E> Clone for BorrowedBytesDeserializer<'de, E>
impl<'de, E> Clone for BorrowedBytesDeserializer<'de, E>
fn clone(&self) -> BorrowedBytesDeserializer<'de, E>
sourceimpl Clone for IgnoredAny
impl Clone for IgnoredAny
fn clone(&self) -> IgnoredAny
sourceimpl<'de, E> Clone for BorrowedStrDeserializer<'de, E>
impl<'de, E> Clone for BorrowedStrDeserializer<'de, E>
fn clone(&self) -> BorrowedStrDeserializer<'de, E>
sourceimpl<E> Clone for UsizeDeserializer<E>
impl<E> Clone for UsizeDeserializer<E>
fn clone(&self) -> UsizeDeserializer<E>
sourceimpl<E> Clone for StringDeserializer<E>
impl<E> Clone for StringDeserializer<E>
fn clone(&self) -> StringDeserializer<E>
sourceimpl<E> Clone for UnitDeserializer<E>
impl<E> Clone for UnitDeserializer<E>
fn clone(&self) -> UnitDeserializer<E>
sourceimpl<E> Clone for BoolDeserializer<E>
impl<E> Clone for BoolDeserializer<E>
fn clone(&self) -> BoolDeserializer<E>
sourceimpl<'a> Clone for Unexpected<'a>
impl<'a> Clone for Unexpected<'a>
fn clone(&self) -> Unexpected<'a>
sourceimpl<E> Clone for U16Deserializer<E>
impl<E> Clone for U16Deserializer<E>
fn clone(&self) -> U16Deserializer<E>
sourceimpl<E> Clone for U8Deserializer<E>
impl<E> Clone for U8Deserializer<E>
fn clone(&self) -> U8Deserializer<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,
fn clone(&self) -> MapDeserializer<'de, I, E>
sourceimpl<E> Clone for F64Deserializer<E>
impl<E> Clone for F64Deserializer<E>
fn clone(&self) -> F64Deserializer<E>
sourceimpl<E> Clone for U32Deserializer<E>
impl<E> Clone for U32Deserializer<E>
fn clone(&self) -> U32Deserializer<E>
sourceimpl<A> Clone for MapAccessDeserializer<A> where
A: Clone,
impl<A> Clone for MapAccessDeserializer<A> where
A: Clone,
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,
fn clone(&self) -> SeqDeserializer<I, E>
sourceimpl<E> Clone for F32Deserializer<E>
impl<E> Clone for F32Deserializer<E>
fn clone(&self) -> F32Deserializer<E>
sourceimpl<E> Clone for I16Deserializer<E>
impl<E> Clone for I16Deserializer<E>
fn clone(&self) -> I16Deserializer<E>
sourceimpl<E> Clone for U128Deserializer<E>
impl<E> Clone for U128Deserializer<E>
fn clone(&self) -> U128Deserializer<E>
sourceimpl<E> Clone for I32Deserializer<E>
impl<E> Clone for I32Deserializer<E>
fn clone(&self) -> I32Deserializer<E>
sourceimpl<'a, E> Clone for CowStrDeserializer<'a, E>
impl<'a, E> Clone for CowStrDeserializer<'a, E>
fn clone(&self) -> CowStrDeserializer<'a, E>
sourceimpl<E> Clone for CharDeserializer<E>
impl<E> Clone for CharDeserializer<E>
fn clone(&self) -> CharDeserializer<E>
sourceimpl<E> Clone for I64Deserializer<E>
impl<E> Clone for I64Deserializer<E>
fn clone(&self) -> I64Deserializer<E>
sourceimpl<E> Clone for U64Deserializer<E>
impl<E> Clone for U64Deserializer<E>
fn clone(&self) -> U64Deserializer<E>
sourceimpl Clone for OperatingSystem
impl Clone for OperatingSystem
fn clone(&self) -> OperatingSystem
sourceimpl Clone for CustomVendor
impl Clone for CustomVendor
fn clone(&self) -> CustomVendor
sourceimpl Clone for CDataModel
impl Clone for CDataModel
fn clone(&self) -> CDataModel
sourceimpl Clone for BinaryFormat
impl Clone for BinaryFormat
fn clone(&self) -> BinaryFormat
sourceimpl Clone for Endianness
impl Clone for Endianness
fn clone(&self) -> Endianness
sourceimpl Clone for Mips32Architecture
impl Clone for Mips32Architecture
fn clone(&self) -> Mips32Architecture
sourceimpl Clone for Riscv32Architecture
impl Clone for Riscv32Architecture
fn clone(&self) -> Riscv32Architecture
sourceimpl Clone for CallingConvention
impl Clone for CallingConvention
fn clone(&self) -> CallingConvention
sourceimpl Clone for X86_32Architecture
impl Clone for X86_32Architecture
fn clone(&self) -> X86_32Architecture
sourceimpl Clone for PointerWidth
impl Clone for PointerWidth
fn clone(&self) -> PointerWidth
sourceimpl Clone for Aarch64Architecture
impl Clone for Aarch64Architecture
fn clone(&self) -> Aarch64Architecture
sourceimpl Clone for ParseError
impl Clone for ParseError
fn clone(&self) -> ParseError
sourceimpl Clone for ArmArchitecture
impl Clone for ArmArchitecture
fn clone(&self) -> ArmArchitecture
sourceimpl Clone for Mips64Architecture
impl Clone for Mips64Architecture
fn clone(&self) -> Mips64Architecture
sourceimpl Clone for Architecture
impl Clone for Architecture
fn clone(&self) -> Architecture
sourceimpl Clone for Environment
impl Clone for Environment
fn clone(&self) -> Environment
sourceimpl Clone for Riscv64Architecture
impl Clone for Riscv64Architecture
fn clone(&self) -> Riscv64Architecture
sourceimpl Clone for LevelFilter
impl Clone for LevelFilter
fn clone(&self) -> LevelFilter
sourceimpl<T> Clone for DebugLocListsIndex<T> where
T: Clone,
impl<T> Clone for DebugLocListsIndex<T> where
T: Clone,
fn clone(&self) -> DebugLocListsIndex<T>
sourceimpl<T> Clone for DebugLocListsBase<T> where
T: Clone,
impl<T> Clone for DebugLocListsBase<T> where
T: Clone,
fn clone(&self) -> DebugLocListsBase<T>
sourceimpl<R, Offset> Clone for UnitHeader<R, Offset> where
R: Clone + Reader<Offset = Offset>,
Offset: Clone + ReaderOffset,
impl<R, Offset> Clone for UnitHeader<R, Offset> where
R: Clone + Reader<Offset = Offset>,
Offset: Clone + ReaderOffset,
fn clone(&self) -> UnitHeader<R, Offset>
sourceimpl Clone for DwarfFileType
impl Clone for DwarfFileType
fn clone(&self) -> DwarfFileType
sourceimpl Clone for ArangeEntry
impl Clone for ArangeEntry
fn clone(&self) -> ArangeEntry
sourceimpl<R, Offset> Clone for FrameDescriptionEntry<R, Offset> where
R: Clone + Reader<Offset = Offset>,
Offset: Clone + ReaderOffset,
impl<R, Offset> Clone for FrameDescriptionEntry<R, Offset> where
R: Clone + Reader<Offset = Offset>,
Offset: Clone + ReaderOffset,
fn clone(&self) -> FrameDescriptionEntry<R, Offset>
sourceimpl<R> Clone for DebugLocLists<R> where
R: Clone,
impl<R> Clone for DebugLocLists<R> where
R: Clone,
fn clone(&self) -> DebugLocLists<R>
sourceimpl Clone for DwChildren
impl Clone for DwChildren
fn clone(&self) -> DwChildren
sourceimpl<T> Clone for UnitSectionOffset<T> where
T: Clone,
impl<T> Clone for UnitSectionOffset<T> where
T: Clone,
fn clone(&self) -> UnitSectionOffset<T>
sourceimpl<T> Clone for DebugStrOffset<T> where
T: Clone,
impl<T> Clone for DebugStrOffset<T> where
T: Clone,
fn clone(&self) -> DebugStrOffset<T>
sourceimpl<T> Clone for DebugAbbrevOffset<T> where
T: Clone,
impl<T> Clone for DebugAbbrevOffset<T> where
T: Clone,
fn clone(&self) -> DebugAbbrevOffset<T>
sourceimpl<R> Clone for DebugStrOffsets<R> where
R: Clone,
impl<R> Clone for DebugStrOffsets<R> where
R: Clone,
fn clone(&self) -> DebugStrOffsets<R>
sourceimpl<R> Clone for ArangeEntryIter<R> where
R: Clone + Reader,
impl<R> Clone for ArangeEntryIter<R> where
R: Clone + Reader,
fn clone(&self) -> ArangeEntryIter<R>
sourceimpl<T> Clone for DebugAddrBase<T> where
T: Clone,
impl<T> Clone for DebugAddrBase<T> where
T: Clone,
fn clone(&self) -> DebugAddrBase<T>
sourceimpl<R, S> Clone for UnwindTableRow<R, S> where
R: Reader,
S: UnwindContextStorage<R>,
impl<R, S> Clone for UnwindTableRow<R, S> where
R: Reader,
S: UnwindContextStorage<R>,
fn clone(&self) -> UnwindTableRow<R, S>
sourceimpl<R> Clone for PubTypesEntryIter<R> where
R: Clone + Reader,
impl<R> Clone for PubTypesEntryIter<R> where
R: Clone + Reader,
fn clone(&self) -> PubTypesEntryIter<R>
sourceimpl<'bases, Section, R> Clone for CieOrFde<'bases, Section, R> where
Section: Clone + UnwindSection<R>,
R: Clone + Reader,
impl<'bases, Section, R> Clone for CieOrFde<'bases, Section, R> where
Section: Clone + UnwindSection<R>,
R: Clone + Reader,
sourceimpl<R> Clone for ArangeHeaderIter<R> where
R: Clone + Reader,
<R as Reader>::Offset: Clone,
impl<R> Clone for ArangeHeaderIter<R> where
R: Clone + Reader,
<R as Reader>::Offset: Clone,
fn clone(&self) -> ArangeHeaderIter<R>
sourceimpl<R, Program, Offset> Clone for LineRows<R, Program, Offset> where
R: Clone + Reader<Offset = Offset>,
Program: Clone + LineProgram<R, Offset>,
Offset: Clone + ReaderOffset,
impl<R, Program, Offset> Clone for LineRows<R, Program, Offset> where
R: Clone + Reader<Offset = Offset>,
Program: Clone + LineProgram<R, Offset>,
Offset: Clone + ReaderOffset,
sourceimpl Clone for Abbreviation
impl Clone for Abbreviation
fn clone(&self) -> Abbreviation
sourceimpl<R> Clone for EhFrameHdr<R> where
R: Clone + Reader,
impl<R> Clone for EhFrameHdr<R> where
R: Clone + Reader,
fn clone(&self) -> EhFrameHdr<R>
sourceimpl<R> Clone for ParsedEhFrameHdr<R> where
R: Clone + Reader,
impl<R> Clone for ParsedEhFrameHdr<R> where
R: Clone + Reader,
fn clone(&self) -> ParsedEhFrameHdr<R>
sourceimpl<T> Clone for DebugRngListsIndex<T> where
T: Clone,
impl<T> Clone for DebugRngListsIndex<T> where
T: Clone,
fn clone(&self) -> DebugRngListsIndex<T>
sourceimpl<'abbrev, 'unit, R, Offset> Clone for DebuggingInformationEntry<'abbrev, 'unit, R, Offset> where
R: Clone + Reader<Offset = Offset>,
Offset: Clone + ReaderOffset,
impl<'abbrev, 'unit, R, Offset> Clone for DebuggingInformationEntry<'abbrev, 'unit, R, Offset> where
R: Clone + Reader<Offset = Offset>,
Offset: Clone + ReaderOffset,
fn clone(&self) -> DebuggingInformationEntry<'abbrev, 'unit, R, Offset>
sourceimpl<R> Clone for RangeLists<R> where
R: Clone,
impl<R> Clone for RangeLists<R> where
R: Clone,
fn clone(&self) -> RangeLists<R>
sourceimpl Clone for RunTimeEndian
impl Clone for RunTimeEndian
fn clone(&self) -> RunTimeEndian
sourceimpl<'abbrev, 'unit, R> Clone for EntriesCursor<'abbrev, 'unit, R> where
R: Clone + Reader,
impl<'abbrev, 'unit, R> Clone for EntriesCursor<'abbrev, 'unit, R> where
R: Clone + Reader,
fn clone(&self) -> EntriesCursor<'abbrev, 'unit, R>
sourceimpl<R> Clone for DebugInfoUnitHeadersIter<R> where
R: Clone + Reader,
<R as Reader>::Offset: Clone,
impl<R> Clone for DebugInfoUnitHeadersIter<R> where
R: Clone + Reader,
<R as Reader>::Offset: Clone,
fn clone(&self) -> DebugInfoUnitHeadersIter<R>
sourceimpl Clone for ColumnType
impl Clone for ColumnType
fn clone(&self) -> ColumnType
sourceimpl<R> Clone for PubNamesEntryIter<R> where
R: Clone + Reader,
impl<R> Clone for PubNamesEntryIter<R> where
R: Clone + Reader,
fn clone(&self) -> PubNamesEntryIter<R>
sourceimpl<R, Offset> Clone for CommonInformationEntry<R, Offset> where
R: Clone + Reader<Offset = Offset>,
Offset: Clone + ReaderOffset,
impl<R, Offset> Clone for CommonInformationEntry<R, Offset> where
R: Clone + Reader<Offset = Offset>,
Offset: Clone + ReaderOffset,
fn clone(&self) -> CommonInformationEntry<R, Offset>
sourceimpl<'index, R> Clone for UnitIndexSectionIterator<'index, R> where
R: Clone + Reader,
impl<'index, R> Clone for UnitIndexSectionIterator<'index, R> where
R: Clone + Reader,
fn clone(&self) -> UnitIndexSectionIterator<'index, R>ⓘNotable traits for UnitIndexSectionIterator<'index, R>impl<'index, R> Iterator for UnitIndexSectionIterator<'index, R> where
R: Reader, type Item = UnitIndexSection;
R: Reader, type Item = UnitIndexSection;
sourceimpl Clone for FileEntryFormat
impl Clone for FileEntryFormat
fn clone(&self) -> FileEntryFormat
sourceimpl<R> Clone for RegisterRule<R> where
R: Clone + Reader,
impl<R> Clone for RegisterRule<R> where
R: Clone + Reader,
fn clone(&self) -> RegisterRule<R>
sourceimpl<T> Clone for DebugArangesOffset<T> where
T: Clone,
impl<T> Clone for DebugArangesOffset<T> where
T: Clone,
fn clone(&self) -> DebugArangesOffset<T>
sourceimpl<R> Clone for DebugAranges<R> where
R: Clone,
impl<R> Clone for DebugAranges<R> where
R: Clone,
fn clone(&self) -> DebugAranges<R>
sourceimpl<R> Clone for LocationLists<R> where
R: Clone,
impl<R> Clone for LocationLists<R> where
R: Clone,
fn clone(&self) -> LocationLists<R>
sourceimpl<'abbrev, 'entry, 'unit, R> Clone for AttrsIter<'abbrev, 'entry, 'unit, R> where
R: Clone + Reader,
impl<'abbrev, 'entry, 'unit, R> Clone for AttrsIter<'abbrev, 'entry, 'unit, R> where
R: Clone + Reader,
sourceimpl<T> Clone for RangeListsOffset<T> where
T: Clone,
impl<T> Clone for RangeListsOffset<T> where
T: Clone,
fn clone(&self) -> RangeListsOffset<T>
sourceimpl<R> Clone for RawLocListEntry<R> where
R: Clone + Reader,
<R as Reader>::Offset: Clone,
impl<R> Clone for RawLocListEntry<R> where
R: Clone + Reader,
<R as Reader>::Offset: Clone,
fn clone(&self) -> RawLocListEntry<R>
sourceimpl<R, Offset> Clone for Operation<R, Offset> where
R: Clone + Reader<Offset = Offset>,
Offset: Clone + ReaderOffset,
impl<R, Offset> Clone for Operation<R, Offset> where
R: Clone + Reader<Offset = Offset>,
Offset: Clone + ReaderOffset,
sourceimpl<T> Clone for RawRangeListsOffset<T> where
T: Clone,
impl<T> Clone for RawRangeListsOffset<T> where
T: Clone,
fn clone(&self) -> RawRangeListsOffset<T>
sourceimpl<R, Offset> Clone for CompleteLineProgram<R, Offset> where
R: Clone + Reader<Offset = Offset>,
Offset: Clone + ReaderOffset,
impl<R, Offset> Clone for CompleteLineProgram<R, Offset> where
R: Clone + Reader<Offset = Offset>,
Offset: Clone + ReaderOffset,
fn clone(&self) -> CompleteLineProgram<R, Offset>
sourceimpl<'input, Endian> Clone for EndianSlice<'input, Endian> where
Endian: Clone + Endianity,
impl<'input, Endian> Clone for EndianSlice<'input, Endian> where
Endian: Clone + Endianity,
fn clone(&self) -> EndianSlice<'input, Endian>
sourceimpl<'bases, Section, R> Clone for PartialFrameDescriptionEntry<'bases, Section, R> where
Section: Clone + UnwindSection<R>,
R: Clone + Reader,
<R as Reader>::Offset: Clone,
<Section as UnwindSection<R>>::Offset: Clone,
impl<'bases, Section, R> Clone for PartialFrameDescriptionEntry<'bases, Section, R> where
Section: Clone + UnwindSection<R>,
R: Clone + Reader,
<R as Reader>::Offset: Clone,
<Section as UnwindSection<R>>::Offset: Clone,
fn clone(&self) -> PartialFrameDescriptionEntry<'bases, Section, R>
sourceimpl Clone for UnitIndexSection
impl Clone for UnitIndexSection
fn clone(&self) -> UnitIndexSection
sourceimpl<T> Clone for RawRngListEntry<T> where
T: Clone,
impl<T> Clone for RawRngListEntry<T> where
T: Clone,
fn clone(&self) -> RawRngListEntry<T>
sourceimpl<T> Clone for DebugMacinfoOffset<T> where
T: Clone,
impl<T> Clone for DebugMacinfoOffset<T> where
T: Clone,
fn clone(&self) -> DebugMacinfoOffset<T>
sourceimpl<R> Clone for DebugCuIndex<R> where
R: Clone,
impl<R> Clone for DebugCuIndex<R> where
R: Clone,
fn clone(&self) -> DebugCuIndex<R>
sourceimpl<R> Clone for DebugTuIndex<R> where
R: Clone,
impl<R> Clone for DebugTuIndex<R> where
R: Clone,
fn clone(&self) -> DebugTuIndex<R>
sourceimpl<T> Clone for DieReference<T> where
T: Clone,
impl<T> Clone for DieReference<T> where
T: Clone,
fn clone(&self) -> DieReference<T>
sourceimpl Clone for BaseAddresses
impl Clone for BaseAddresses
fn clone(&self) -> BaseAddresses
sourceimpl<R> Clone for LineInstructions<R> where
R: Clone + Reader,
impl<R> Clone for LineInstructions<R> where
R: Clone + Reader,
fn clone(&self) -> LineInstructions<R>
sourceimpl<R> Clone for OperationIter<R> where
R: Clone + Reader,
impl<R> Clone for OperationIter<R> where
R: Clone + Reader,
fn clone(&self) -> OperationIter<R>
sourceimpl<R, Offset> Clone for AttributeValue<R, Offset> where
R: Clone + Reader<Offset = Offset>,
Offset: Clone + ReaderOffset,
impl<R, Offset> Clone for AttributeValue<R, Offset> where
R: Clone + Reader<Offset = Offset>,
Offset: Clone + ReaderOffset,
fn clone(&self) -> AttributeValue<R, Offset>
sourceimpl<T> Clone for DebugFrameOffset<T> where
T: Clone,
impl<T> Clone for DebugFrameOffset<T> where
T: Clone,
fn clone(&self) -> DebugFrameOffset<T>
sourceimpl<R, A> Clone for UnwindContext<R, A> where
R: Clone + Reader,
A: Clone + UnwindContextStorage<R>,
<A as UnwindContextStorage<R>>::Stack: Clone,
impl<R, A> Clone for UnwindContext<R, A> where
R: Clone + Reader,
A: Clone + UnwindContextStorage<R>,
<A as UnwindContextStorage<R>>::Stack: Clone,
fn clone(&self) -> UnwindContext<R, A>
sourceimpl Clone for DebugTypeSignature
impl Clone for DebugTypeSignature
fn clone(&self) -> DebugTypeSignature
sourceimpl<'iter, R> Clone for RegisterRuleIter<'iter, R> where
R: Clone + Reader,
impl<'iter, R> Clone for RegisterRuleIter<'iter, R> where
R: Clone + Reader,
fn clone(&self) -> RegisterRuleIter<'iter, R>ⓘNotable traits for RegisterRuleIter<'iter, R>impl<'iter, R> Iterator for RegisterRuleIter<'iter, R> where
R: Reader, type Item = &'iter (Register, RegisterRule<R>);
R: Reader, type Item = &'iter (Register, RegisterRule<R>);