Search results

There are no results.

std.clone.Clone

trait pub Clone

A type that can be cloned into a copy of itself.

Required methods

clone

Show source code
Hide source code
fn pub clone -> Self
fn pub clone -> Self

Creates a clone of self.

The returned value is an owned value that is the same type as the receiver of this method. For example, cloning a ref Array[Int] results in a Array[Int], not another ref Array[Int].

Implementations

std.array.

Array

impl Clone for Array
if
  T: Clone
std.bool.

Bool

impl Clone for Bool
std.bytes.

ByteArray

impl Clone for ByteArray
std.bytes.

Slice

impl Clone for Slice
std.debug.

StackFrame

impl Clone for StackFrame
std.float.

Float

impl Clone for Float
std.fs.path.

Path

impl Clone for Path
std.int.

Int

impl Clone for Int
std.map.

Map

impl Clone for Map
if
  K: Equal + Hash + Clone,
  V: Clone
std.net.http.
impl Clone for Header
std.net.http.

HeaderMap

impl Clone for HeaderMap
std.net.http.

HeaderValue

impl Clone for HeaderValue
std.net.http.

Limits

impl Clone for Limits
std.net.http.

Method

impl Clone for Method
std.net.http.header.values.

ParameterValue

impl Clone for ParameterValue
std.net.http.server.

Address

impl Clone for Address
std.net.http.server.

Logger

impl Clone for Logger
std.net.ip.

IpAddress

impl Clone for IpAddress
std.net.ip.

Ipv4Address

impl Clone for Ipv4Address
std.net.ip.

Ipv6Address

impl Clone for Ipv6Address
std.net.socket.

SocketAddress

impl Clone for SocketAddress
std.net.socket.

UnixAddress

impl Clone for UnixAddress
std.net.tls.

ClientConfig

impl Clone for ClientConfig
std.net.tls.

ServerConfig

impl Clone for ServerConfig
std.nil.

Nil

impl Clone for Nil
std.option.

Option

impl Clone for Option
if
  T: Clone
std.range.

ExclusiveRange

impl Clone for ExclusiveRange
std.range.

InclusiveRange

impl Clone for InclusiveRange
std.result.

Result

impl Clone for Result
if
  E: Clone,
  T: Clone
std.signal.

Signal

impl Clone for Signal
std.string.

String

impl Clone for String
std.sync.

Channel

impl Clone for Channel
std.time.

DateTime

impl Clone for DateTime
std.time.

Duration

impl Clone for Duration
std.time.

Instant

impl Clone for Instant
std.tuple.

Tuple1

impl Clone for Tuple1
if
  A: Clone
std.tuple.

Tuple2

impl Clone for Tuple2
if
  A: Clone,
  B: Clone
std.tuple.

Tuple3

impl Clone for Tuple3
if
  A: Clone,
  B: Clone,
  C: Clone
std.tuple.

Tuple4

impl Clone for Tuple4
if
  A: Clone,
  B: Clone,
  C: Clone,
  D: Clone
std.tuple.

Tuple5

impl Clone for Tuple5
if
  A: Clone,
  B: Clone,
  C: Clone,
  D: Clone,
  E: Clone
std.tuple.

Tuple6

impl Clone for Tuple6
if
  A: Clone,
  B: Clone,
  C: Clone,
  D: Clone,
  E: Clone,
  F: Clone
std.tuple.

Tuple7

impl Clone for Tuple7
if
  A: Clone,
  B: Clone,
  C: Clone,
  D: Clone,
  E: Clone,
  F: Clone,
  G: Clone
std.tuple.

Tuple8

impl Clone for Tuple8
if
  A: Clone,
  B: Clone,
  C: Clone,
  D: Clone,
  E: Clone,
  F: Clone,
  G: Clone,
  H: Clone
std.uri.

Fragment

impl Clone for Fragment
std.uri.

Host

impl Clone for Host
std.uri.

Path

impl Clone for Path
std.uri.

Query

impl Clone for Query
std.uri.

QueryValue

impl Clone for QueryValue
std.uri.

Scheme

impl Clone for Scheme
std.uri.

Uri

impl Clone for Uri
std.uri.

UserInfo

impl Clone for UserInfo
std.uri.

Values

impl Clone for Values