Struct distill_core::AssetUuid[][src]

pub struct AssetUuid(pub [u8; 16]);

A universally unique identifier for an asset. An asset can be a value of any Rust type that implements TypeUuidDynamic + [serde::Serialize] + Send.

If using a human-readable format, serializes to a hyphenated UUID format and deserializes from any format supported by the uuid crate. Otherwise, serializes to and from a [u8; 16].

Trait Implementations

impl AsMut<[u8]> for AssetUuid[src]

impl AsRef<[u8]> for AssetUuid[src]

impl Clone for AssetUuid[src]

impl Copy for AssetUuid[src]

impl Debug for AssetUuid[src]

impl Default for AssetUuid[src]

impl Display for AssetUuid[src]

impl Eq for AssetUuid[src]

impl<S: AsRef<str>> From<S> for AssetUuid[src]

impl Hash for AssetUuid[src]

impl Ord for AssetUuid[src]

impl PartialEq<AssetUuid> for AssetUuid[src]

impl PartialOrd<AssetUuid> for AssetUuid[src]

impl StructuralEq for AssetUuid[src]

impl StructuralPartialEq for AssetUuid[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.