[][src]Struct oxygengine_core::id::ID

#[repr(C)]
pub struct ID<T> { /* fields omitted */ }

Typed Unique Identifier (uuidv4).

Methods

impl<T> ID<T>[src]

pub fn new() -> ID<T>[src]

Creates new identifier.

pub fn from_bytes(bytes: [u8; 16]) -> ID<T>[src]

Creates new identifier from raw bytes.

pub fn uuid(&self) -> Uuid[src]

Gets underlying UUID object.

Trait Implementations

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

impl<T> Copy for ID<T> where
    T: Clone
[src]

impl<T> Debug for ID<T>[src]

impl<T> Default for ID<T>[src]

impl<'de, T> Deserialize<'de> for ID<T>[src]

impl<T> Eq for ID<T>[src]

impl From<ID<()>> for AssetVariant[src]

impl<T> FromStr for ID<T>[src]

type Err = String

The associated error which can be returned from parsing.

impl<T> Hash for ID<T>[src]

impl<T> Ord for ID<T>[src]

impl<T> PartialEq<ID<T>> for ID<T>[src]

impl<T> PartialOrd<ID<T>> for ID<T>[src]

impl<T> Serialize for ID<T>[src]

impl<T> ToString for ID<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ID<T> where
    T: RefUnwindSafe

impl<T> Send for ID<T> where
    T: Send

impl<T> Sync for ID<T> where
    T: Sync

impl<T> Unpin for ID<T> where
    T: Unpin

impl<T> UnwindSafe for ID<T> where
    T: UnwindSafe

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Event for T where
    T: Send + Sync + 'static, 
[src]

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

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

impl<T> Resource for T where
    T: Any + Send + Sync
[src]

impl<T> RuleType for T where
    T: Eq + Ord + Copy + Debug + Hash
[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> TryDefault for T where
    T: Default
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,