vectie/moonlib/uuid does not have a README file

    Source

    pub(open) trait Source {
    fn uint64(self : Self) -> UInt64
    }

    impl Source for Rand

    ParseError

    Generator

    type Generator

    Generator::v4

    fn Generator::v4(self : Generator) -> Uuid

    Uuid

    type Uuid derive(Compare, Eq, Hash)

    impl Show for Uuid
    impl ToJson for Uuid

    Uuid::of_bytes

    #as_free_fn
    fn Uuid::of_bytes(bytes : Bytes) -> Uuid

    Uuid::to_bytes

    fn Uuid::to_bytes(self : Uuid) -> Bytes

    Uuid::to_string

    fn Uuid::to_string(self : Uuid) -> String

    Uuid::variant

    fn Uuid::variant(self : Uuid) -> Variant

    Uuid::version

    fn Uuid::version(self : Uuid) -> Version?

    Variant

    pub enum Variant {
    ReservedNCS
    RFC9562(Version)
    ReservedMicrosoft
    ReservedFuture
    } derive(ToJson)

    Version

    pub(all) enum Version {
    V0
    V1
    V2
    V3
    V4
    V5
    V6
    V7
    V8
    V9
    V10
    V11
    V12
    V13
    V14
    V15
    } derive(ToJson)

    generator

    fn[Source : Source] generator(source : Source) -> Generator

    max

    let max : Uuid

    nil

    let nil : Uuid

    parse

    fn parse(hex : StringView) -> Uuid raise ParseError

    Source Files