pub trait Clone { fn clone(&self) -> Self; }
A common trait for cloning an object.
fn clone(&self) -> Self
Returns a copy of the value. The contents of owned pointers are copied to maintain uniqueness, while the contents of managed pointers are not copied.
SharedPort<T>
SharedChan<T>
Tube<T>
RC<T>
SleeperList
MessageQueue<T>
WorkQueue<T>
SocketAddr
IpAddr
KillHandle
PosixPath
WindowsPath
SharedPort<T>
SharedChan<T>
Cell<T>
HashSet<T>
HashSetIterator<'self, K>
HashMapIterator<'self, K, V>
HashMap<K, V>
Either<L, R>
Result<T, E>
OptionIterator<A>
Option<T>
Repeat<A>
RangeStepInclusive<A>
RangeStep<A>
RangeInclusive<A>
Range<A>
Counter<A>
Fuse<T>
Take<T>
Skip<T>
Enumerate<T>
Zip<T, U>
Chain<T, U>
Cycle<T>
Invert<T>
Ordering
SendStr
Ascii
NormalizationIterator<'self>
NormalizationForm
StrSplitIterator<'self>
MatchesIndexIterator<'self>
CharSplitNIterator<'self, Sep>
CharSplitIterator<'self, Sep>
CharOffsetIterator<'self>
CharIterator<'self>
MoveRevIterator<T>
MoveIterator<T>
VecIterator<'self, T>
ChunkIter<'self, T>
WindowIter<'self, T>
impl<A: Clone> Clone for (A)
impl<A: Clone, B: Clone> Clone for (A, B)
impl<A: Clone, B: Clone, C: Clone> Clone for (A, B, C)
impl<A: Clone, B: Clone, C: Clone, D: Clone> Clone for (A, B, C, D)
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone> Clone for (A, B, C, D, E)
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone> Clone for (A, B, C, D, E, F)
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone> Clone for (A, B, C, D, E, F, G)
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone> Clone for (A, B, C, D, E, F, G, H)
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone, I: Clone> Clone for (A, B, C, D, E, F, G, H, I)
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone, I: Clone, J: Clone> Clone for (A, B, C, D, E, F, G, H, I, J)
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone, I: Clone, J: Clone, K: Clone> Clone for (A, B, C, D, E, F, G, H, I, J, K)
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone, I: Clone, J: Clone, K: Clone, L: Clone> Clone for (A, B, C, D, E, F, G, H, I, J, K, L)
impl<A: Clone> Clone for ~[A]
impl<T> Clone for @[T]
impl Clone for ~str
impl Clone for @str
impl<T> Clone for *T
impl<T: Clone> Clone for ~T
impl<T> Clone for @T
impl<T> Clone for @mut T
impl<'self, T> Clone for &'self T
impl<'self, T> Clone for &'self [T]
impl<'self> Clone for &'self str
impl Clone for int
impl Clone for i8
impl Clone for i16
impl Clone for i32
impl Clone for i64
impl Clone for uint
impl Clone for u8
impl Clone for u16
impl Clone for u32
impl Clone for u64
impl Clone for float
impl Clone for f32
impl Clone for f64
impl Clone for ()
impl Clone for bool
impl Clone for char
impl<ReturnType> Clone for fn() -> ReturnType
impl<A, ReturnType> Clone for fn(A) -> ReturnType
impl<A, B, ReturnType> Clone for fn(A, B) -> ReturnType
impl<A, B, C, ReturnType> Clone for fn(A, B, C) -> ReturnType
impl<A, B, C, D, ReturnType> Clone for fn(A, B, C, D) -> ReturnType
impl<A, B, C, D, E, ReturnType> Clone for fn(A, B, C, D, E) -> ReturnType
impl<A, B, C, D, E, F, ReturnType> Clone for fn(A, B, C, D, E, F) -> ReturnType
impl<A, B, C, D, E, F, G, ReturnType> Clone for fn(A, B, C, D, E, F, G) -> ReturnType
impl<A, B, C, D, E, F, G, H, ReturnType> Clone for fn(A, B, C, D, E, F, G, H) -> ReturnType
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).