1 // Copyright 2013-2014 The Rust Project Developers.
2 // Copyright 2018 The Uuid Project Developers.
3 //
4 // See the COPYRIGHT file at the top-level directory of this distribution.
5 //
6 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
7 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
8 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
9 // option. This file may not be copied, modified, or distributed
10 // except according to those terms.
11
12 use crate::prelude::*;
13
new() -> Uuid14 pub const fn new() -> Uuid {
15 Uuid::from_bytes([
16 0xF9, 0x16, 0x8C, 0x5E, 0xCE, 0xB2, 0x4F, 0xAA, 0xB6, 0xBF, 0x32, 0x9B,
17 0xF3, 0x9F, 0xA1, 0xE4,
18 ])
19 }
20
new2() -> Uuid21 pub const fn new2() -> Uuid {
22 Uuid::from_bytes([
23 0xF9, 0x16, 0x8C, 0x5E, 0xCE, 0xB2, 0x4F, 0xAB, 0xB6, 0xBF, 0x32, 0x9B,
24 0xF3, 0x9F, 0xA1, 0xE4,
25 ])
26 }
27