azalea_buf

Trait SerializableUuid

Source
pub trait SerializableUuid {
    // Required methods
    fn to_int_array(&self) -> [u32; 4];
    fn from_int_array(array: [u32; 4]) -> Self;
}

Required Methods§

Source

fn to_int_array(&self) -> [u32; 4]

Source

fn from_int_array(array: [u32; 4]) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SerializableUuid for Uuid

Source§

fn to_int_array(&self) -> [u32; 4]

Source§

fn from_int_array(array: [u32; 4]) -> Self

Implementors§