Search results

There are no results.

std.clone.Clone

Clone[T]

A type that can be cloned into a new type.

Required methods

clone

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

Creates a clone of self.

Implementations

std.array.

Array

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

Bool

impl Clone[Bool] for Bool
std.byte_array.

ByteArray

impl Clone[ByteArray] for ByteArray
std.channel.

Channel

impl Clone[Channel[T]] for Channel
std.debug.

StackFrame

impl Clone[StackFrame] for StackFrame
std.float.

Float

impl Clone[Float] for Float
std.fs.path.

Path

impl Clone[Path] for Path
std.int.

Int

impl Clone[Int] for Int
std.map.

Entry

impl Clone[Entry[K, V]] for Entry
if
  K: Equal[ref K] + Hash + Clone[K],
  V: Clone[V]
std.map.

Map

impl Clone[Map[K, V]] for Map
if
  K: Equal[ref K] + Hash + Clone[K],
  V: Clone[V]
std.net.ip.

IpAddress

impl Clone[IpAddress] for IpAddress
std.net.ip.

Ipv4Address

impl Clone[Ipv4Address] for Ipv4Address
std.net.ip.

Ipv6Address

impl Clone[Ipv6Address] for Ipv6Address
std.net.tls.

ClientConfig

impl Clone[ClientConfig] for ClientConfig
std.net.tls.

ServerConfig

impl Clone[ServerConfig] for ServerConfig
std.nil.

Nil

impl Clone[Nil] for Nil
std.option.

Option

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

ExclusiveRange

impl Clone[ExclusiveRange] for ExclusiveRange
std.range.

InclusiveRange

impl Clone[InclusiveRange] for InclusiveRange
std.result.

Result

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

Signal

impl Clone[Signal] for Signal
std.string.

String

impl Clone[String] for String
std.time.

DateTime

impl Clone[DateTime] for DateTime
std.time.

Duration

impl Clone[Duration] for Duration
std.time.

Instant

impl Clone[Instant] for Instant
std.tuple.

Tuple1

impl Clone[(A)] for Tuple1
if
  A: Clone[A]
std.tuple.

Tuple2

impl Clone[(A, B)] for Tuple2
if
  A: Clone[A],
  B: Clone[B]
std.tuple.

Tuple3

impl Clone[(A, B, C)] for Tuple3
if
  A: Clone[A],
  B: Clone[B],
  C: Clone[C]
std.tuple.

Tuple4

impl Clone[(A, B, C, D)] for Tuple4
if
  A: Clone[A],
  B: Clone[B],
  C: Clone[C],
  D: Clone[D]
std.tuple.

Tuple5

impl Clone[(A, B, C, D, E)] for Tuple5
if
  A: Clone[A],
  B: Clone[B],
  C: Clone[C],
  D: Clone[D],
  E: Clone[E]
std.tuple.

Tuple6

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

Tuple7

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

Tuple8

impl Clone[(A, B, C, D, E, F, G, H)] for Tuple8
if
  A: Clone[A],
  B: Clone[B],
  C: Clone[C],
  D: Clone[D],
  E: Clone[E],
  F: Clone[F],
  G: Clone[G],
  H: Clone[H]