1.0.0[][src]Trait libc::dox::imp::Clone

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

How can I implement Clone?

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

An example is an array holding more than 32 elements of a type that is Clone; the standard library only implements Clone up until arrays of size 32. In this case, the implementation of Clone cannot be derived, but can be implemented as:

#[derive(Copy)]
struct Stats {
   frequencies: [i32; 100],
}

impl Clone for Stats {
    fn clone(&self) -> Stats { *self }
}

Additional implementors

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

Required Methods

Returns a copy of the value.

Examples

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

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

Provided Methods

Performs copy-assignment from source.

a.clone_from(&b) is equivalent to a = b.clone() in functionality, but can be overridden to reuse the resources of a to avoid unnecessary allocations.

Implementations on Foreign Types

impl Clone for OsString
[src]

impl Clone for Box<CStr>
[src]

Important traits for Box<R>

impl Clone for Instant
[src]

impl Clone for Shutdown
[src]

impl Clone for NulError
[src]

impl Clone for IntoStringError
[src]

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

impl Clone for SystemTimeError
[src]

impl Clone for OpenOptions
[src]

impl Clone for RecvTimeoutError
[src]

impl Clone for ExitCode
[src]

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

Important traits for Difference<'a, T, S>

impl Clone for SocketAddrV4
[src]

impl Clone for ExitStatus
[src]

impl Clone for TryRecvError
[src]

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

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

Important traits for Iter<'a, K, V>

impl Clone for PathBuf
[src]

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

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

Important traits for Ancestors<'a>

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

Important traits for SymmetricDifference<'a, T, S>

impl Clone for SeekFrom
[src]

impl Clone for Output
[src]

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

Important traits for Values<'a, K, V>

impl Clone for AddrParseError
[src]

impl Clone for DefaultHasher
[src]

impl Clone for stat
[src]

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

impl Clone for Metadata
[src]

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

Important traits for Cursor<T>

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

Important traits for Iter<'a>

impl Clone for FileType
[src]

impl Clone for RandomState
[src]

impl Clone for RecvError
[src]

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

impl Clone for SocketAddr
[src]

impl Clone for SocketAddr
[src]

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

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

Important traits for Components<'a>

impl Clone for Ipv4Addr
[src]

impl Clone for ThreadId
[src]

impl Clone for ErrorKind
[src]

impl Clone for WaitTimeoutResult
[src]

impl Clone for Box<Path>
[src]

Important traits for Box<R>

impl Clone for SocketAddrV6
[src]

impl Clone for Ipv6MulticastScope
[src]

impl Clone for VarError
[src]

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

Important traits for Keys<'a, K, V>

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

impl Clone for FromBytesWithNulError
[src]

impl Clone for Ipv6Addr
[src]

impl Clone for Box<OsStr>
[src]

Important traits for Box<R>

impl Clone for IpAddr
[src]

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

Important traits for Intersection<'a, T, S>

impl Clone for Thread
[src]

impl Clone for Permissions
[src]

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

Important traits for Union<'a, T, S>

impl Clone for SystemTime
[src]

impl Clone for CString
[src]

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

Important traits for Iter<'a, K>

impl Clone for StripPrefixError
[src]

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

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

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

Important traits for Zip<A, B>

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

Important traits for SplitAsciiWhitespace<'a>

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

impl Clone for ParseBoolError
[src]

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

Important traits for Empty<T>

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

Important traits for RangeFrom<A>

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

Important traits for EncodeUtf16<'a>

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

impl Clone for i16
[src]

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

Important traits for ExactChunks<'a, T>

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

Important traits for SplitN<'a, P>

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

Important traits for Chunks<'a, T>

impl Clone for i8
[src]

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

Important traits for Inspect<I, F>

impl Clone for u32
[src]

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

Important traits for IntoIter<A>

impl Clone for NonZeroU16
[src]

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

impl Clone for Error
[src]

impl Clone for RangeFull
[src]

impl Clone for usize
[src]

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

Important traits for Fuse<I>

impl Clone for Utf8Error
[src]

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

Important traits for Iter<'a, T>

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

Important traits for SkipWhile<I, P>

impl Clone for ParseIntError
[src]

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

Important traits for Lines<'a>

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

impl Clone for u8
[src]

impl Clone for bool
[src]

impl Clone for EscapeDebug
[src]

Important traits for EscapeDebug

impl Clone for AllocErr
[src]

impl Clone for isize
[src]

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

Important traits for RSplit<'a, T, P>

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

Important traits for Once<T>

impl Clone for EscapeUnicode
[src]

Important traits for EscapeUnicode

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

Important traits for DecodeUtf16<I>

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

Important traits for Matches<'a, P>

impl Clone for TryFromSliceError
[src]

impl Clone for UnicodeVersion
[src]

impl<T, E> Clone for Result<T, E> where
    E: Clone,
    T: Clone
[src]

impl Clone for LocalWaker
[src]

impl Clone for Ordering
[src]

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

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

Important traits for RMatches<'a, P>

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

Important traits for RSplitN<'a, P>

impl Clone for Duration
[src]

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

Important traits for Cloned<I>

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

Important traits for Chars<'a>

impl Clone for Layout
[src]

impl Clone for SearchStep
[src]

impl Clone for NonZeroU32
[src]

impl Clone for NonZeroU8
[src]

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

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

Important traits for Iter<'a, T>

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

Important traits for StepBy<I>

impl Clone for CharTryFromError
[src]

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

Important traits for LinesAny<'a>

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

Important traits for Iter<'a, A>

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

Important traits for RepeatWith<F>

impl Clone for u64
[src]

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

Important traits for &'a mut R

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

Important traits for Chain<A, B>

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

Important traits for RSplitTerminator<'a, P>

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

Important traits for Take<I>

impl Clone for DecodeUtf16Error
[src]

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

Important traits for Bytes<'a>

impl Clone for TypeId
[src]

impl Clone for u128
[src]

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

impl Clone for LayoutErr
[src]

impl Clone for SipHasher
[src]

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

Important traits for Cycle<I>

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

Important traits for Enumerate<I>

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

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

Important traits for RSplit<'a, P>

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

Important traits for Rev<I>

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

Important traits for Split<'a, T, P>

impl Clone for NonZeroUsize
[src]

impl Clone for ParseFloatError
[src]

impl Clone for ParseCharError
[src]

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

Important traits for Map<I, F>

impl<I, U> Clone for Flatten<I> where
    I: Iterator + Clone,
    U: Iterator + Clone,
    <I as Iterator>::Item: IntoIterator,
    <<I as Iterator>::Item as IntoIterator>::IntoIter == U,
    <<I as Iterator>::Item as IntoIterator>::Item == <U as Iterator>::Item
[src]

Important traits for Flatten<I>

impl Clone for TraitObject
[src]

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

Important traits for FlatMap<I, U, F>

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

Important traits for RMatchIndices<'a, P>

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

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

Important traits for SplitTerminator<'a, P>

impl Clone for i64
[src]

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

Important traits for Peekable<I>

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

Important traits for Range<A>

impl Clone for f32
[src]

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

Important traits for Filter<I, P>

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

Important traits for MatchIndices<'a, P>

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

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

impl Clone for i128
[src]

impl Clone for Ordering
[src]

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

Important traits for IntoIter<T>

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

Important traits for Split<'a, P>

impl Clone for NoneError
[src]

impl Clone for TryFromIntError
[src]

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

impl Clone for ToLowercase
[src]

Important traits for ToLowercase

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

impl Clone for Waker
[src]

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

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

impl Clone for !
[src]

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

Important traits for Scan<I, St, F>

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

Panics

Panics if the value is currently mutably borrowed.

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

Important traits for SplitWhitespace<'a>

impl Clone for EscapeDefault
[src]

Important traits for EscapeDefault

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

Important traits for FilterMap<I, F>

impl Clone for f64
[src]

impl Clone for u16
[src]

impl Clone for Pinned
[src]

impl Clone for FpCategory
[src]

impl Clone for char
[src]

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

impl Clone for NonZeroU128
[src]

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

Important traits for Repeat<A>

impl Clone for CannotReallocInPlace
[src]

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

Important traits for Skip<I>

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

impl Clone for NonZeroU64
[src]

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

Important traits for TakeWhile<I, P>

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

Important traits for CharIndices<'a>

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

impl Clone for i32
[src]

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

Important traits for Windows<'a, T>

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

Important traits for RangeInclusive<A>

impl Clone for ToUppercase
[src]

Important traits for ToUppercase

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

Makes a clone of the Arc pointer.

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

Examples

use std::sync::Arc;

let five = Arc::new(5);

Arc::clone(&five);

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

Important traits for Difference<'a, T>

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

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

Examples

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

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

Weak::clone(&weak_five);

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

Important traits for Iter<'a, T>

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

Important traits for Iter<'a, T>

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

Important traits for Iter<'a, T>

impl Clone for ParseError
[src]

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

Important traits for Range<'a, K, V>

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

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

Important traits for Keys<'a, K, V>

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

Important traits for IntoIter<T>

impl Clone for String
[src]

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

Important traits for IntoIter<T>

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

Important traits for Range<'a, T>

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

impl Clone for Box<str>
[src]

Important traits for Box<R>

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

Makes a clone of the Rc pointer.

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

Examples

use std::rc::Rc;

let five = Rc::new(5);

Rc::clone(&five);

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

Important traits for SymmetricDifference<'a, T>

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

Important traits for Box<R>

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

Important traits for Iter<'a, K, V>

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

Important traits for Intersection<'a, T>

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

Important traits for IntoIter<T>

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

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

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

Examples

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

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

Weak::clone(&weak_five);

impl Clone for CollectionAllocErr
[src]

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

impl Clone for Global
[src]

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

Important traits for Vec<u8>

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

Important traits for Union<'a, T>

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

Important traits for IntoIter<T>

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

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

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

Important traits for Box<R>

Returns a new box with a clone() of this box's contents.

Examples

let x = Box::new(5);
let y = x.clone();

Copies source's contents into self without creating a new allocation.

Examples

let x = Box::new(5);
let mut y = Box::new(10);

y.clone_from(&x);

assert_eq!(*y, 5);

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

Important traits for Values<'a, K, V>

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

Important traits for Iter<'a, T>

impl Clone for pthread_rwlock_t
[src]

impl Clone for ip_mreq
[src]

impl Clone for stat
[src]

impl Clone for posix_spawnattr_t
[src]

impl Clone for ff_envelope
[src]

impl Clone for aiocb
[src]

impl Clone for input_absinfo
[src]

impl Clone for timeval
[src]

impl Clone for arpreq
[src]

impl Clone for pthread_attr_t
[src]

impl Clone for rlimit64
[src]

impl Clone for statvfs
[src]

impl Clone for mntent
[src]

impl Clone for rusage
[src]

impl Clone for in6_addr
[src]

impl Clone for mq_attr
[src]

impl Clone for arpd_request
[src]

impl Clone for user_fpregs_struct
[src]

impl Clone for ff_rumble_effect
[src]

impl Clone for itimerval
[src]

impl Clone for input_keymap_entry
[src]

impl Clone for mmsghdr
[src]

impl Clone for nl_mmap_req
[src]

impl Clone for ipc_perm
[src]

impl Clone for Elf32_Phdr
[src]

impl Clone for sockaddr
[src]

impl Clone for input_mask
[src]

impl Clone for Dl_info
[src]

impl Clone for nlmsgerr
[src]

impl Clone for sigaction
[src]

impl Clone for nl_mmap_hdr
[src]

impl Clone for itimerspec
[src]

impl Clone for nl_pktinfo
[src]

impl Clone for dl_phdr_info
[src]

impl Clone for flock
[src]

impl Clone for if_nameindex
[src]

impl Clone for servent
[src]

impl Clone for ff_ramp_effect
[src]

impl Clone for sysinfo
[src]

impl Clone for tms
[src]

impl Clone for pthread_rwlockattr_t
[src]

impl Clone for passwd
[src]

impl Clone for ff_effect
[src]

impl Clone for rlimit
[src]

impl Clone for sigval
[src]

impl Clone for _libc_fpstate
[src]

impl Clone for __exit_status
[src]

impl Clone for packet_mreq
[src]

impl Clone for sockaddr_in6
[src]

impl Clone for Elf64_Phdr
[src]

impl Clone for _libc_xmmreg
[src]

impl Clone for dirent
[src]

impl Clone for pthread_mutex_t
[src]

impl Clone for protoent
[src]

impl Clone for msginfo
[src]

impl Clone for fd_set
[src]

impl Clone for ifaddrs
[src]

impl Clone for siginfo_t
[src]

impl Clone for epoll_event
[src]

impl Clone for pthread_cond_t
[src]

impl Clone for __timeval
[src]

impl Clone for nlmsghdr
[src]

impl Clone for winsize
[src]

impl Clone for mallinfo
[src]

impl Clone for ff_periodic_effect
[src]

impl Clone for sockaddr_ll
[src]

impl Clone for pollfd
[src]

impl Clone for msqid_ds
[src]

impl Clone for sembuf
[src]

impl Clone for statfs64
[src]

impl Clone for glob64_t
[src]

impl Clone for input_event
[src]

impl Clone for ipv6_mreq
[src]

impl Clone for utimbuf
[src]

impl Clone for stack_t
[src]

impl Clone for sem_t
[src]

impl Clone for signalfd_siginfo
[src]

impl Clone for lconv
[src]

impl Clone for nlattr
[src]

impl Clone for mcontext_t
[src]

impl Clone for user_regs_struct
[src]

impl Clone for in6_rtmsg
[src]

impl Clone for shmid_ds
[src]

impl Clone for termios2
[src]

impl Clone for ff_trigger
[src]

impl Clone for stat64
[src]

impl Clone for user
[src]

impl Clone for addrinfo
[src]

impl Clone for sockaddr_nl
[src]

impl Clone for in_pktinfo
[src]

impl Clone for dirent64
[src]

impl Clone for sockaddr_in
[src]

impl Clone for hostent
[src]

impl Clone for sockaddr_un
[src]

impl Clone for utmpx
[src]

impl Clone for cpu_set_t
[src]

impl Clone for posix_spawn_file_actions_t
[src]

impl Clone for fsid_t
[src]

impl Clone for sched_param
[src]

impl Clone for iovec
[src]

impl Clone for timespec
[src]

impl Clone for pthread_condattr_t
[src]

impl Clone for sigevent
[src]

impl Clone for sockaddr_storage
[src]

impl Clone for genlmsghdr
[src]

impl Clone for sigset_t
[src]

impl Clone for statvfs64
[src]

impl Clone for arpreq_old
[src]

impl Clone for utsname
[src]

impl Clone for ff_constant_effect
[src]

impl Clone for ff_replay
[src]

impl Clone for ucred
[src]

impl Clone for in6_pktinfo
[src]

impl Clone for in_addr
[src]

impl Clone for ucontext_t
[src]

impl Clone for tm
[src]

impl Clone for dqblk
[src]

impl Clone for input_id
[src]

impl Clone for group
[src]

impl Clone for ff_condition_effect
[src]

impl Clone for cmsghdr
[src]

impl Clone for spwd
[src]

impl Clone for rtentry
[src]

impl Clone for _libc_fpxreg
[src]

impl Clone for termios
[src]

impl Clone for linger
[src]

impl Clone for arphdr
[src]

impl Clone for msghdr
[src]

impl Clone for glob_t
[src]

impl Clone for pthread_mutexattr_t
[src]

impl Clone for statfs
[src]

impl Clone for _Unwind_Action

impl Clone for _Unwind_Reason_Code

Implementors

impl Clone for libc::Dl_info
[src]

impl Clone for libc::Elf32_Phdr
[src]

impl Clone for libc::Elf64_Phdr
[src]

impl Clone for libc::__exit_status
[src]

impl Clone for libc::__timeval
[src]

impl Clone for libc::_libc_fpstate
[src]

impl Clone for libc::_libc_fpxreg
[src]

impl Clone for libc::_libc_xmmreg
[src]

impl Clone for libc::addrinfo
[src]

impl Clone for libc::aiocb
[src]

impl Clone for libc::arpd_request
[src]

impl Clone for libc::arphdr
[src]

impl Clone for libc::arpreq
[src]

impl Clone for libc::arpreq_old
[src]

impl Clone for libc::cmsghdr
[src]

impl Clone for libc::cpu_set_t
[src]

impl Clone for libc::dirent
[src]

impl Clone for libc::dirent64
[src]

impl Clone for libc::dl_phdr_info
[src]

impl Clone for libc::dqblk
[src]

impl Clone for libc::epoll_event
[src]

impl Clone for libc::fd_set
[src]

impl Clone for libc::ff_condition_effect
[src]

impl Clone for libc::ff_constant_effect
[src]

impl Clone for libc::ff_effect
[src]

impl Clone for libc::ff_envelope
[src]

impl Clone for libc::ff_periodic_effect
[src]

impl Clone for libc::ff_ramp_effect
[src]

impl Clone for libc::ff_replay
[src]

impl Clone for libc::ff_rumble_effect
[src]

impl Clone for libc::ff_trigger
[src]

impl Clone for libc::flock
[src]

impl Clone for libc::fsid_t
[src]

impl Clone for libc::genlmsghdr
[src]

impl Clone for libc::glob64_t
[src]

impl Clone for libc::glob_t
[src]

impl Clone for libc::group
[src]

impl Clone for libc::hostent
[src]

impl Clone for libc::if_nameindex
[src]

impl Clone for libc::ifaddrs
[src]

impl Clone for libc::in6_addr
[src]

impl Clone for libc::in6_pktinfo
[src]

impl Clone for libc::in6_rtmsg
[src]

impl Clone for libc::in_addr
[src]

impl Clone for libc::in_pktinfo
[src]

impl Clone for libc::input_absinfo
[src]

impl Clone for libc::input_event
[src]

impl Clone for libc::input_id
[src]

impl Clone for libc::input_keymap_entry
[src]

impl Clone for libc::input_mask
[src]

impl Clone for libc::iovec
[src]

impl Clone for libc::ip_mreq
[src]

impl Clone for libc::ipc_perm
[src]

impl Clone for libc::ipv6_mreq
[src]

impl Clone for libc::itimerspec
[src]

impl Clone for libc::itimerval
[src]

impl Clone for libc::lconv
[src]

impl Clone for libc::linger
[src]

impl Clone for libc::mallinfo
[src]

impl Clone for libc::mcontext_t
[src]

impl Clone for libc::mmsghdr
[src]

impl Clone for libc::mntent
[src]

impl Clone for libc::mq_attr
[src]

impl Clone for libc::msghdr
[src]

impl Clone for libc::msginfo
[src]

impl Clone for libc::msqid_ds
[src]

impl Clone for libc::nl_mmap_hdr
[src]

impl Clone for libc::nl_mmap_req
[src]

impl Clone for libc::nl_pktinfo
[src]

impl Clone for libc::nlattr
[src]

impl Clone for libc::nlmsgerr
[src]

impl Clone for libc::nlmsghdr
[src]

impl Clone for libc::packet_mreq
[src]

impl Clone for libc::passwd
[src]

impl Clone for libc::pollfd
[src]

impl Clone for libc::posix_spawn_file_actions_t
[src]

impl Clone for libc::posix_spawnattr_t
[src]

impl Clone for libc::protoent
[src]

impl Clone for libc::pthread_attr_t
[src]

impl Clone for libc::pthread_cond_t
[src]

impl Clone for libc::pthread_condattr_t
[src]

impl Clone for libc::pthread_mutex_t
[src]

impl Clone for libc::pthread_mutexattr_t
[src]

impl Clone for libc::pthread_rwlock_t
[src]

impl Clone for libc::pthread_rwlockattr_t
[src]

impl Clone for libc::rlimit
[src]

impl Clone for libc::rlimit64
[src]

impl Clone for libc::rtentry
[src]

impl Clone for libc::rusage
[src]

impl Clone for libc::sched_param
[src]

impl Clone for libc::sem_t
[src]

impl Clone for libc::sembuf
[src]

impl Clone for libc::servent
[src]

impl Clone for libc::shmid_ds
[src]

impl Clone for libc::sigaction
[src]

impl Clone for libc::sigevent
[src]

impl Clone for libc::siginfo_t
[src]

impl Clone for libc::signalfd_siginfo
[src]

impl Clone for libc::sigset_t
[src]

impl Clone for libc::sigval
[src]

impl Clone for libc::sockaddr
[src]

impl Clone for libc::sockaddr_in
[src]

impl Clone for libc::sockaddr_in6
[src]

impl Clone for libc::sockaddr_ll
[src]

impl Clone for libc::sockaddr_nl
[src]

impl Clone for libc::sockaddr_storage
[src]

impl Clone for libc::sockaddr_un
[src]

impl Clone for libc::spwd
[src]

impl Clone for libc::stack_t
[src]

impl Clone for libc::stat
[src]

impl Clone for libc::stat64
[src]

impl Clone for libc::statfs
[src]

impl Clone for libc::statfs64
[src]

impl Clone for libc::statvfs
[src]

impl Clone for libc::statvfs64
[src]

impl Clone for libc::sysinfo
[src]

impl Clone for libc::termios
[src]

impl Clone for libc::termios2
[src]

impl Clone for libc::timespec
[src]

impl Clone for libc::timeval
[src]

impl Clone for libc::tm
[src]

impl Clone for libc::tms
[src]

impl Clone for libc::ucontext_t
[src]

impl Clone for libc::ucred
[src]

impl Clone for libc::user
[src]

impl Clone for libc::user_fpregs_struct
[src]

impl Clone for libc::user_regs_struct
[src]

impl Clone for libc::utimbuf
[src]

impl Clone for libc::utmpx
[src]

impl Clone for libc::utsname
[src]

impl Clone for libc::winsize
[src]

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

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

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