Trait otter_api_tests::imports::failure::_core::marker::Copy 1.0.0[−][src]
pub trait Copy: Clone { }
Expand description
Types whose values can be duplicated simply by copying bits.
By default, variable bindings have ‘move semantics.’ In other words:
#[derive(Debug)] struct Foo; let x = Foo; let y = x; // `x` has moved into `y`, and so cannot be used // println!("{:?}", x); // error: use of moved value
However, if a type implements Copy
, it instead has ‘copy semantics’:
// We can derive a `Copy` implementation. `Clone` is also required, as it's // a supertrait of `Copy`. #[derive(Debug, Copy, Clone)] struct Foo; let x = Foo; let y = x; // `y` is a copy of `x` println!("{:?}", x); // A-OK!
It’s important to note that in these two examples, the only difference is whether you
are allowed to access x
after the assignment. Under the hood, both a copy and a move
can result in bits being copied in memory, although this is sometimes optimized away.
How can I implement Copy
?
There are two ways to implement Copy
on your type. The simplest is to use derive
:
#[derive(Copy, Clone)] struct MyStruct;
You can also implement Copy
and Clone
manually:
struct MyStruct; impl Copy for MyStruct { } impl Clone for MyStruct { fn clone(&self) -> MyStruct { *self } }
There is a small difference between the two: the derive
strategy will also place a Copy
bound on type parameters, which isn’t always desired.
What’s the difference between Copy
and Clone
?
Copies happen implicitly, for example as part of an assignment y = x
. The behavior of
Copy
is not overloadable; it is always a simple bit-wise copy.
Cloning is an explicit action, x.clone()
. The implementation of Clone
can
provide any type-specific behavior necessary to duplicate values safely. For example,
the implementation of Clone
for String
needs to copy the pointed-to string
buffer in the heap. A simple bitwise copy of String
values would merely copy the
pointer, leading to a double free down the line. For this reason, String
is Clone
but not Copy
.
Clone
is a supertrait of Copy
, so everything which is Copy
must also implement
Clone
. If a type is Copy
then its Clone
implementation only needs to return *self
(see the example above).
When can my type be Copy
?
A type can implement Copy
if all of its components implement Copy
. For example, this
struct can be Copy
:
#[derive(Copy, Clone)] struct Point { x: i32, y: i32, }
A struct can be Copy
, and i32
is Copy
, therefore Point
is eligible to be Copy
.
By contrast, consider
struct PointList { points: Vec<Point>, }
The struct PointList
cannot implement Copy
, because Vec<T>
is not Copy
. If we
attempt to derive a Copy
implementation, we’ll get an error:
the trait `Copy` may not be implemented for this type; field `points` does not implement `Copy`
Shared references (&T
) are also Copy
, so a type can be Copy
, even when it holds
shared references of types T
that are not Copy
. Consider the following struct,
which can implement Copy
, because it only holds a shared reference to our non-Copy
type PointList
from above:
#[derive(Copy, Clone)] struct PointListWrapper<'a> { point_list_ref: &'a PointList, }
When can’t my type be Copy
?
Some types can’t be copied safely. For example, copying &mut T
would create an aliased
mutable reference. Copying String
would duplicate responsibility for managing the
String
’s buffer, leading to a double free.
Generalizing the latter case, any type implementing Drop
can’t be Copy
, because it’s
managing some resource besides its own size_of::<T>
bytes.
If you try to implement Copy
on a struct or enum containing non-Copy
data, you will get
the error E0204.
When should my type be Copy
?
Generally speaking, if your type can implement Copy
, it should. Keep in mind, though,
that implementing Copy
is part of the public API of your type. If the type might become
non-Copy
in the future, it could be prudent to omit the Copy
implementation now, to
avoid a breaking API change.
Additional implementors
In addition to the implementors listed below,
the following types also implement Copy
:
- Function item types (i.e., the distinct types defined for each function)
- Function pointer types (e.g.,
fn() -> i32
) - Array types, for all sizes, if the item type also implements
Copy
(e.g.,[i32; 123456]
) - Tuple types, if each component also implements
Copy
(e.g.,()
,(i32, bool)
) - Closure types, if they capture no value from the environment
or if all such captured values implement
Copy
themselves. Note that variables captured by shared reference always implementCopy
(even if the referent doesn’t), while variables captured by mutable reference never implementCopy
.
Implementations on Foreign Types
Shared references can be copied, but mutable references cannot!
impl Copy for Curve
impl<FORMAT, STRICTNESS> Copy for TimestampNanoSecondsWithFrac<FORMAT, STRICTNESS> where
FORMAT: Copy + Format,
STRICTNESS: Copy + Strictness,
[src]impl<FORMAT, STRICTNESS> Copy for DurationMilliSecondsWithFrac<FORMAT, STRICTNESS> where
FORMAT: Copy + Format,
STRICTNESS: Copy + Strictness,
[src]impl<FORMAT, STRICTNESS> Copy for DurationMicroSecondsWithFrac<FORMAT, STRICTNESS> where
FORMAT: Copy + Format,
STRICTNESS: Copy + Strictness,
[src]impl<FORMAT, STRICTNESS> Copy for DurationNanoSecondsWithFrac<FORMAT, STRICTNESS> where
FORMAT: Copy + Format,
STRICTNESS: Copy + Strictness,
[src]impl<FORMAT, STRICTNESS> Copy for TimestampMilliSecondsWithFrac<FORMAT, STRICTNESS> where
FORMAT: Copy + Format,
STRICTNESS: Copy + Strictness,
[src]impl<FORMAT, STRICTNESS> Copy for DurationNanoSeconds<FORMAT, STRICTNESS> where
FORMAT: Copy + Format,
STRICTNESS: Copy + Strictness,
[src]impl<FORMAT, STRICTNESS> Copy for DurationMicroSeconds<FORMAT, STRICTNESS> where
FORMAT: Copy + Format,
STRICTNESS: Copy + Strictness,
[src]impl<FORMAT, STRICTNESS> Copy for TimestampMicroSeconds<FORMAT, STRICTNESS> where
FORMAT: Copy + Format,
STRICTNESS: Copy + Strictness,
[src]impl<FORMAT, STRICTNESS> Copy for TimestampSeconds<FORMAT, STRICTNESS> where
FORMAT: Copy + Format,
STRICTNESS: Copy + Strictness,
[src]impl<FORMAT, STRICTNESS> Copy for TimestampSecondsWithFrac<FORMAT, STRICTNESS> where
FORMAT: Copy + Format,
STRICTNESS: Copy + Strictness,
[src]impl<FORMAT, STRICTNESS> Copy for TimestampMilliSeconds<FORMAT, STRICTNESS> where
FORMAT: Copy + Format,
STRICTNESS: Copy + Strictness,
[src]impl<FORMAT, STRICTNESS> Copy for DurationMilliSeconds<FORMAT, STRICTNESS> where
FORMAT: Copy + Format,
STRICTNESS: Copy + Strictness,
[src]impl<FORMAT, STRICTNESS> Copy for DurationSeconds<FORMAT, STRICTNESS> where
FORMAT: Copy + Format,
STRICTNESS: Copy + Strictness,
[src]impl<FORMAT, STRICTNESS> Copy for TimestampNanoSeconds<FORMAT, STRICTNESS> where
FORMAT: Copy + Format,
STRICTNESS: Copy + Strictness,
[src]impl<FORMAT, STRICTNESS> Copy for DurationSecondsWithFrac<FORMAT, STRICTNESS> where
FORMAT: Copy + Format,
STRICTNESS: Copy + Strictness,
[src]impl<FORMAT, STRICTNESS> Copy for TimestampMicroSecondsWithFrac<FORMAT, STRICTNESS> where
FORMAT: Copy + Format,
STRICTNESS: Copy + Strictness,
[src]impl Copy for ClassSetBinaryOpKind
impl Copy for Position
impl Copy for ClassBytesRange
impl Copy for Utf8Range
impl Copy for Flag
impl Copy for Utf8Sequence
impl Copy for Span
impl Copy for ClassUnicodeRange
impl Copy for MatchKind
impl Copy for MatchKind
impl Copy for Prefilter
impl Copy for ColorChoice
impl Copy for Color
impl Copy for Stream
impl Copy for RunTimeEndian
impl Copy for DwDs
impl Copy for LineEncoding
impl Copy for DwVis
impl Copy for DwLns
impl<R, Offset> Copy for LineInstruction<R, Offset> where
R: Copy + Reader<Offset = Offset>,
Offset: Copy + ReaderOffset,
impl Copy for DebugTypeSignature
impl Copy for X86_64
impl Copy for DwEhPe
impl Copy for DwRle
impl<R, Offset> Copy for UnitHeader<R, Offset> where
R: Copy + Reader<Offset = Offset>,
Offset: Copy + ReaderOffset,
impl Copy for DwInl
impl Copy for DwId
impl Copy for ReaderOffsetId
impl Copy for Value
impl Copy for DwUt
impl Copy for DwOp
impl Copy for FileEntryFormat
impl<R, Offset> Copy for Piece<R, Offset> where
R: Copy + Reader<Offset = Offset>,
Offset: Copy + ReaderOffset,
impl Copy for DwTag
impl Copy for DwChildren
impl Copy for X86
impl Copy for DwIdx
impl Copy for Register
impl Copy for ValueType
impl Copy for Augmentation
impl Copy for LittleEndian
impl Copy for DwDsc
impl Copy for DwLang
impl Copy for DwAddr
impl Copy for Encoding
impl Copy for DwMacro
impl Copy for DwAt
impl Copy for AttributeSpecification
impl Copy for DwDefaulted
impl Copy for DwLle
impl Copy for Arm
impl Copy for DwVirtuality
impl Copy for DwarfFileType
impl<R, Offset> Copy for Location<R, Offset> where
R: Copy + Reader<Offset = Offset>,
Offset: Copy + ReaderOffset,
impl Copy for Format
impl Copy for BigEndian
impl Copy for DwCc
impl Copy for DwLnct
impl<R, Offset> Copy for Operation<R, Offset> where
R: Copy + Reader<Offset = Offset>,
Offset: Copy + ReaderOffset,
impl Copy for DwForm
impl<R, Offset> Copy for FileEntry<R, Offset> where
R: Copy + Reader<Offset = Offset>,
Offset: Copy + ReaderOffset,
impl Copy for ColumnType
impl Copy for Range
impl Copy for Error
impl Copy for Pointer
impl Copy for DwEnd
impl Copy for DwoId
impl<'abbrev, 'entry, 'unit, R> Copy for AttrsIter<'abbrev, 'entry, 'unit, R> where
R: Copy + Reader,
impl Copy for LineRow
impl Copy for DwAte
impl Copy for DwOrd
impl Copy for DwAccess
impl Copy for SectionId
impl<R, Offset> Copy for AttributeValue<R, Offset> where
R: Copy + Reader<Offset = Offset>,
Offset: Copy + ReaderOffset,
impl Copy for DwLne
impl Copy for DwCfa
impl<'data> Copy for CompressedData<'data>
impl Copy for ImageAlpha64RuntimeFunctionEntry
impl<'data, Elf> Copy for SectionTable<'data, Elf> where
Elf: Copy + FileHeader,
<Elf as FileHeader>::SectionHeader: Copy,
impl Copy for ScatteredRelocationInfo
impl Copy for ImageDynamicRelocation32V2
impl Copy for ImageFileHeader
impl<'data, Mach> Copy for SymbolTable<'data, Mach> where
Mach: Copy + MachHeader,
<Mach as MachHeader>::Nlist: Copy,
impl Copy for ImageSymbolEx
impl Copy for ImageSymbolExBytes
impl Copy for AddressSize
impl Copy for ImageVxdHeader
impl Copy for ImageBoundImportDescriptor
impl Copy for RelocationKind
impl Copy for ImageResourceDirStringU
impl Copy for ImageAlphaRuntimeFunctionEntry
impl<'data> Copy for Export<'data>
impl Copy for ImageBoundForwarderRef
impl Copy for ImageSymbolBytes
impl Copy for ImageArm64RuntimeFunctionEntry
impl<'data> Copy for Import<'data>
impl Copy for AnonObjectHeaderV2
impl<'data, 'file, Mach, R> Copy for MachOSymbolTable<'data, 'file, Mach, R> where
R: Copy + ReadRef<'data>,
Mach: Copy + MachHeader,
impl Copy for RelocationTarget
impl Copy for ComdatKind
impl Copy for ImageEnclaveImport
impl Copy for ImageLinenumber
impl Copy for NonPagedDebugInfo
impl<'data> Copy for StringTable<'data>
impl Copy for ImageSymbol
impl Copy for ImageAuxSymbolSection
impl Copy for ImageArchiveMemberHeader
impl Copy for ImageCor20Header
impl Copy for CompressedFileRange
impl Copy for Architecture
impl<'data> Copy for ObjectMapEntry<'data>
impl Copy for ImageDebugDirectory
impl Copy for ImageRuntimeFunctionEntry
impl Copy for ImportObjectHeader
impl Copy for ImageArmRuntimeFunctionEntry
impl<'data, 'file, Elf> Copy for ElfSymbol<'data, 'file, Elf> where
'data: 'file,
Elf: Copy + FileHeader,
<Elf as FileHeader>::Endian: Copy,
<Elf as FileHeader>::Sym: Copy,
impl Copy for ImageDebugMisc
impl Copy for ImageFunctionEntry
impl Copy for ImageLoadConfigCodeIntegrity
impl Copy for RelocationEncoding
impl Copy for ImageHotPatchInfo
impl Copy for CompressionFormat
impl Copy for Ident
impl Copy for ImageImportDescriptor
impl Copy for ImageHotPatchBase
impl<'data> Copy for Bytes<'data>
impl Copy for ImageEpilogueDynamicRelocationHeader
impl Copy for ImageFunctionEntry64
impl Copy for ArchiveKind
impl Copy for FatArch64
impl Copy for ImageDynamicRelocation32
impl Copy for ImageHotPatchHashes
impl Copy for ImageSectionHeader
impl Copy for ImageSeparateDebugHeader
impl Copy for ImageLoadConfigDirectory64
impl Copy for ImageTlsDirectory64
impl<'data> Copy for CodeView<'data>
impl<'data, 'file, Elf> Copy for ElfSymbolTable<'data, 'file, Elf> where
'data: 'file,
Elf: Copy + FileHeader,
<Elf as FileHeader>::Endian: Copy,
impl<'data> Copy for SectionTable<'data>
impl Copy for ImageOs2Header
impl Copy for Error
impl Copy for ImageRomHeaders
impl<'data, 'file> Copy for CoffSymbol<'data, 'file>
impl Copy for FileKind
impl Copy for SymbolScope
impl Copy for FatArch32
impl Copy for LittleEndian
impl<'data, 'file> Copy for CoffSymbolTable<'data, 'file>
impl Copy for ImageResourceDataEntry
impl Copy for SectionFlags
impl<'data, Elf> Copy for SymbolTable<'data, Elf> where
Elf: Copy + FileHeader,
<Elf as FileHeader>::Sym: Copy,
impl Copy for Guid
impl Copy for ImageBaseRelocation
impl Copy for BinaryFormat
impl Copy for AnonObjectHeader
impl Copy for ImageAuxSymbolFunction
impl Copy for ImageAuxSymbolWeak
impl Copy for ImagePrologueDynamicRelocationHeader
impl Copy for ImageDosHeader
impl Copy for ImageNtHeaders64
impl Copy for Endianness
impl Copy for ImageAuxSymbolCrc
impl Copy for ImageRelocation
impl Copy for SectionIndex
impl Copy for SymbolSection
impl Copy for ImageImportByName
impl Copy for ImageDynamicRelocation64
impl Copy for ImageDelayloadDescriptor
impl Copy for ImageDynamicRelocationTable
impl Copy for ImageOptionalHeader64
impl Copy for ImageExportDirectory
impl Copy for ImageTlsDirectory32
impl Copy for SectionKind
impl<'data> Copy for SymbolMapName<'data>
impl Copy for ImageResourceDirectoryEntry
impl Copy for FatHeader
impl Copy for RelocationInfo
impl Copy for ImageResourceDirectory
impl Copy for ImageLoadConfigDirectory32
impl Copy for ImageEnclaveConfig64
impl Copy for SymbolKind
impl Copy for ImageDynamicRelocation64V2
impl Copy for FileFlags
impl Copy for Header
impl Copy for BigEndian
impl Copy for ImageRomOptionalHeader
impl Copy for ImageEnclaveConfig32
impl Copy for ImageArchitectureEntry
impl Copy for ImageOptionalHeader32
impl Copy for ImageAuxSymbolFunctionBeginEnd
impl Copy for SymbolIndex
impl Copy for ImageResourceDirectoryString
impl Copy for ImageNtHeaders32
impl Copy for ImageCoffSymbolsHeader
impl Copy for AnonObjectHeaderBigobj
impl Copy for ImageAuxSymbolTokenDef
impl Copy for ImageDataDirectory
impl<'data, 'file, Mach, R> Copy for MachOSymbol<'data, 'file, Mach, R> where
R: Copy + ReadRef<'data>,
Mach: Copy + MachHeader,
<Mach as MachHeader>::Nlist: Copy,
impl Copy for DataFormat
impl Copy for MZFlush
impl Copy for MZStatus
impl Copy for TDEFLStatus
impl Copy for TDEFLFlush
impl Copy for CompressionLevel
impl Copy for TINFLStatus
impl Copy for MZError
impl Copy for CompressionStrategy
impl Copy for StreamResult
impl Copy for Op
impl Copy for RecursiveMode
impl Copy for FileTime
impl Copy for EventMask
impl Copy for WatchMask
impl Copy for inotify_event
impl Copy for UnparkToken
impl Copy for ParkToken
impl Copy for FilterOp
impl Copy for RequeueOp
impl Copy for ParkResult
impl Copy for UnparkResult
impl Copy for Marker
impl<X> Copy for Uniform<X> where
X: Copy + SampleUniform,
<X as SampleUniform>::Sampler: Copy,
[src]impl Copy for vec512_storage
impl Copy for vec256_storage
impl Copy for YesS3
impl Copy for NoNI
impl Copy for vec128_storage
impl Copy for NoS3
impl Copy for YesS4
impl Copy for NoS4
impl Copy for YesA1
impl Copy for NoA1
impl Copy for NoA2
impl Copy for YesNI
impl Copy for YesA2
impl<'a> Copy for Parse<'a>
impl Copy for Config
impl Copy for BidiClass
impl Copy for Level
impl Copy for TryFromSliceError
impl Copy for Error
impl Copy for Delay
impl Copy for ColorType
impl Copy for BiLevel
impl Copy for FilterType
impl Copy for ExtendedColorType
impl Copy for CompressionType
impl Copy for ImageFormat
impl Copy for PixelDensityUnit
impl Copy for SampleLayout
impl Copy for NormalForm
impl Copy for Rect
impl Copy for FilterType
impl Copy for Progress
impl Copy for PixelDensity
impl Copy for PixelFormat
impl Copy for ImageInfo
impl Copy for FilterType
impl Copy for PixelDimensions
impl Copy for DisposeOp
impl Copy for ColorType
impl Copy for BitDepth
impl Copy for AnimationControl
impl Copy for FrameControl
impl Copy for Unit
impl Copy for Limits
impl Copy for BlendOp
impl Copy for Transformations
impl Copy for SpecialOptions
impl Copy for CompressionOptions
impl Copy for Compression
impl Copy for MatchingType
impl Copy for TDEFLStatus
impl Copy for DataFormat
impl Copy for MZFlush
impl Copy for TDEFLFlush
impl Copy for MZError
impl Copy for CompressionStrategy
impl Copy for MZStatus
impl Copy for CompressionLevel
impl Copy for TINFLStatus
impl Copy for StreamResult
impl Copy for PodCastError
impl Copy for Kilo
impl Copy for FixedAt
impl Copy for WordBreak
impl Copy for GraphemeClusterBreak
impl Copy for SentenceBreak
impl Copy for CharRange
impl Copy for UnicodeVersion
impl<'a> Copy for TrieSetSlice<'a>
impl Copy for FileType
impl Copy for WalkState
impl Copy for Flags
impl Copy for USERINFO_ENCODE_SET
impl Copy for PATH_SEGMENT_ENCODE_SET
impl Copy for QUERY_ENCODE_SET
impl Copy for DEFAULT_ENCODE_SET
impl Copy for SIMPLE_ENCODE_SET
impl Copy for WordBreak
impl Copy for SentenceBreak
impl Copy for GraphemeClusterBreak
impl Copy for CharRange
impl Copy for UnicodeVersion
impl Copy for Color
impl<'a, 'b> Copy for Emoji<'a, 'b>
impl Copy for Attribute
impl Copy for TermTarget
impl Copy for Alignment
impl Copy for TermFamily
impl Copy for Suffix
impl Copy for Infix
impl Copy for Style
impl Copy for Prefix
impl Copy for Colour
impl Copy for Aborted
impl Copy for Ready
impl Copy for Interest
impl Copy for Instant
impl Copy for Error
impl Copy for UCred
impl Copy for Canceled
impl<'a> Copy for Header<'a>
impl Copy for Error
impl Copy for BytesCodec
impl Copy for Builder
Implementors
impl Copy for AdaptiveFormat
impl Copy for otter_api_tests::shapelib::LittleEndian
impl Copy for FchownatFlags
impl Copy for ForkResult
impl Copy for LinkatFlags
impl Copy for PathconfVar
impl Copy for SysconfVar
impl Copy for UnlinkatFlags
impl Copy for LogicError
impl Copy for CompressionMethod
impl Copy for CharacterSet
impl Copy for TimestampPrecision
impl Copy for WriteStyle
impl Copy for PosixFadviseAdvice
impl Copy for AioCancelStat
impl Copy for AioFsyncMode
impl Copy for MmapAdvise
impl Copy for RebootMode
impl Copy for SigHandler
impl Copy for SigevNotify
impl Copy for SigmaskHow
impl Copy for AddressFamily
impl Copy for SockProtocol
impl Copy for FchmodatFlags
impl Copy for UtimensatFlags
impl Copy for SpecialCharacterIndices
impl Copy for Expiration
impl Copy for WaitStatus
impl Copy for ConnCredentials
impl Copy for PosCFromIteratorError
impl Copy for CoordinateOverflow
impl Copy for AccessFlags
impl Copy for otter_api_tests::zcoord::ParseError
impl Copy for RangeBackwards
impl Copy for TotallyUnboundedRange
impl Copy for FileOptions
impl Copy for InvalidOutputSize
impl Copy for Elf32_Chdr
impl Copy for Elf32_Ehdr
impl Copy for Elf32_Phdr
impl Copy for Elf32_Shdr
impl Copy for Elf64_Chdr
impl Copy for Elf64_Ehdr
impl Copy for Elf64_Phdr
impl Copy for Elf64_Shdr
impl Copy for __c_anonymous_sockaddr_can_j1939
impl Copy for __c_anonymous_sockaddr_can_tp
impl Copy for __exit_status
impl Copy for _libc_fpstate
impl Copy for _libc_fpxreg
impl Copy for _libc_xmmreg
impl Copy for arpd_request
impl Copy for arpreq_old
impl Copy for can_filter
impl Copy for canfd_frame
impl Copy for dl_phdr_info
impl Copy for epoll_event
impl Copy for fanotify_event_metadata
impl Copy for fanotify_response
impl Copy for ff_condition_effect
impl Copy for ff_constant_effect
impl Copy for ff_envelope
impl Copy for ff_periodic_effect
impl Copy for ff_ramp_effect
impl Copy for ff_rumble_effect
impl Copy for ff_trigger
impl Copy for genlmsghdr
impl Copy for if_nameindex
impl Copy for in6_pktinfo
impl Copy for in_pktinfo
impl Copy for otter_api_tests::imports::libc::inotify_event
impl Copy for input_absinfo
impl Copy for input_event
impl Copy for input_keymap_entry
impl Copy for input_mask
impl Copy for ip_mreq_source
impl Copy for itimerspec
impl Copy for max_align_t
impl Copy for mcontext_t
impl Copy for nl_mmap_hdr
impl Copy for nl_mmap_req
impl Copy for nl_pktinfo
impl Copy for ntptimeval
impl Copy for packet_mreq
impl Copy for posix_spawn_file_actions_t
impl Copy for posix_spawnattr_t
impl Copy for pthread_attr_t
impl Copy for pthread_cond_t
impl Copy for pthread_condattr_t
impl Copy for pthread_mutex_t
impl Copy for pthread_mutexattr_t
impl Copy for pthread_rwlock_t
impl Copy for pthread_rwlockattr_t
impl Copy for regmatch_t
impl Copy for sched_param
impl Copy for sock_extended_err
impl Copy for sockaddr_alg
impl Copy for sockaddr_can
impl Copy for sockaddr_ll
impl Copy for sockaddr_nl
impl Copy for sockaddr_vm
impl Copy for statx_timestamp
impl Copy for ucontext_t
impl Copy for uinput_abs_setup
impl Copy for uinput_ff_erase
impl Copy for uinput_ff_upload
impl Copy for uinput_setup
impl Copy for uinput_user_dev
impl Copy for user_fpregs_struct
impl Copy for user_regs_struct
impl Copy for FallocateFlags
impl Copy for SpliceFFlags
impl Copy for DeleteModuleFlags
impl Copy for ModuleInitFlags
impl Copy for InterfaceFlags
impl Copy for ForkptyResult
impl Copy for OpenptyResult
impl Copy for CloneFlags
impl Copy for EpollCreateFlags
impl Copy for EpollEvent
impl Copy for EpollFlags
impl Copy for AddWatchFlags
impl Copy for WatchDescriptor
impl Copy for MemFdCreateFlag
impl Copy for MRemapFlags
impl Copy for MlockAllFlags
impl Copy for QuotaValidFlags
impl Copy for SignalIterator
impl Copy for signalfd_siginfo
impl Copy for AcceptConn
impl Copy for AlgSetAeadAuthSize
impl Copy for BindToDevice
impl Copy for IpAddMembership
impl Copy for IpDropMembership
impl Copy for IpMulticastLoop
impl Copy for IpMulticastTtl
impl Copy for IpTransparent
impl Copy for Ipv4PacketInfo
impl Copy for Ipv6AddMembership
impl Copy for Ipv6DropMembership
impl Copy for Ipv6RecvPacketInfo
impl Copy for OriginalDst
impl Copy for PeerCredentials
impl Copy for RcvBufForce
impl Copy for ReceiveTimeout
impl Copy for ReceiveTimestamp
impl Copy for ReceiveTimestampns
impl Copy for SendTimeout
impl Copy for SndBufForce
impl Copy for SocketError
impl Copy for TcpCongestion
impl Copy for TcpKeepCount
impl Copy for TcpKeepIdle
impl Copy for TcpKeepInterval
impl Copy for TcpNoDelay
impl Copy for UdpGroSegment
impl Copy for UdpGsoSegment
impl Copy for IpMembershipRequest
impl Copy for Ipv6MembershipRequest
impl Copy for NetlinkAddr
impl Copy for UnixCredentials
impl Copy for sockaddr_in6
impl Copy for sockaddr_in
impl Copy for sockaddr_storage
impl Copy for sockaddr_un
impl Copy for ControlFlags
impl Copy for InputFlags
impl Copy for LocalFlags
impl Copy for OutputFlags
impl Copy for TimerFlags
impl Copy for TimerSetTimeFlags
impl Copy for RemoteIoVec
impl Copy for WaitPidFlag
impl Copy for FloatIsNan
impl Copy for otter_api_tests::imports::parking_lot::WaitTimeoutResult
impl Copy for DefaultConfig
impl Copy for UnixSocketAddr
impl Copy for __c_anonymous_sockaddr_can_can_addr
impl<'a> Copy for ControlMessage<'a>
impl<'a> Copy for CmsgIterator<'a>
impl<'b, 'c, T> Copy for otter_api_tests::imports::rmp_serde::decode::Reference<'b, 'c, T> where
T: 'static + Copy + ?Sized,
impl<C> Copy for BinaryConfig<C> where
C: Copy,
impl<C> Copy for HumanReadableConfig<C> where
C: Copy,
impl<C> Copy for StructMapConfig<C> where
C: Copy,
impl<C> Copy for StructTupleConfig<C> where
C: Copy,
impl<C> Copy for VariantIntegerConfig<C> where
C: Copy,
impl<C> Copy for VariantStringConfig<C> where
C: Copy,
impl<E> Copy for ParseNotNanError<E> where
E: Copy,
impl<T> Copy for otter_api_tests::imports::otter_base::imports::itertools::Position<T> where
T: Copy,
[src]impl<T> Copy for OrderedFloat<T> where
T: Copy,
impl<T> Copy for IsHtmlFormatted<T> where
T: Copy + Display,
impl<T, N> Copy for GenericArray<T, N> where
T: Copy,
N: ArrayLength<T>,
<N as ArrayLength<T>>::ArrayType: Copy,