Instance Propertyswift-hash 0.7.1UUID
description
UUID.swift:127var description: String { get }
var description: String { get }
import UUID
@frozen struct UUID
@frozen struct String
A Unicode string value that is a collection of characters.
init?(_ string: String)
init<Bytes>(_ bytes: Bytes) where Bytes : Collection, Bytes.Element == UInt8
Creates a UUID by initializing its raw memory from a collection of bytes. If the collection does not contain at least 16 bytes, the uninitalized portion of the UUID is filled with zero bytes.
init(_ high: UInt64, _ low: UInt64)
Creates a UUID with the given high- and low-components. The components are interpreted by platform endianness; therefore the values stored into bitPattern
may be different if the current host is not big-endian.
init(bitPattern: (UInt64, UInt64))
Creates a UUID with the given bit pattern. Do not use this initializer to create a UUID from integer literals; use init(_:_:)
, which accounts for platform endianness, instead.
static func random() -> UUID
Generates an RFC 4122-compliant random UUID (version 4).
let bitPattern: (UInt64, UInt64)
The raw bit pattern of this UUID.
var endIndex: Int { get }
var startIndex: Int { get }
subscript(index: Int) -> UInt8 { get }
static func == (a: `Self`, b: `Self`) -> Bool
func hash(into hasher: inout Hasher)