vectie/moonlib/uuid does not have a README file
pub(open) trait Source { fn uint64(self : Self) -> UInt64}
impl Source for Rand
fn uint64(self : @moonbitlang/core/random.RandRand) -> UInt64
type ParseError derive(ToJson, @moonbitlang/core/debug.DebugDebug)
type Generator
fn Generator::v4(self : Generator) -> Uuid
type Uuid derive(Compare, Eq, Hash)
impl Show for Uuid
fn output(self : Uuid, logger : &Logger) -> Unit
impl ToJson for Uuid
fn to_json(self : Uuid) -> Json
impl FromJson for Uuid
fn from_json(json : Json, json_path : @moonbitlang/core/json.JsonPathJsonPath) -> Uuid raise @moonbitlang/core/json.JsonDecodeErrorJsonDecodeError
#as_free_fnfn Uuid::of_bytes(bytes : Bytes) -> Uuid
fn Uuid::to_bytes(self : Uuid) -> Bytes
fn Uuid::to_string(self : Uuid) -> String
fn Uuid::variant(self : Uuid) -> Variant
fn Uuid::version(self : Uuid) -> Version?
pub enum Variant { ReservedNCS RFC9562(Version) ReservedMicrosoft ReservedFuture} derive(ToJson)
pub(all) enum Version { V0 V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12 V13 V14 V15} derive(ToJson)
fn[Source : Source] generator(source : Source) -> Generator
let max : Uuid
let nil : Uuid
fn parse(hex : StringView) -> Uuid raise ParseError
Install
Shared utility library for the Moon suite
Dependencies
Powered by MoonBit
© 2026 mooncakes.io