[][src]Struct yy_typings::sprite_yy::SpriteSequenceId

pub struct SpriteSequenceId(_);

A newtype wrapper around a uuid::Uuid. The inner value can always be accessed with inner without consuming the wrapper -- its purpose is for developer simplicity.

Implementations

impl SpriteSequenceId[src]

pub fn new() -> Self[src]

Creates a new Id using Uuid::new_v4 which is randomly generated.

pub fn with_id(id: Uuid) -> Self[src]

Creates a new Id with the provided Uuid.

pub fn with_string(input: &str) -> Self[src]

Creates a new Id with the provided String which must be a Uuid string. This does an unwrap internally, so probably don't use it!

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

Gives access to the inner ID. Try to not use this one too much!

Trait Implementations

impl Clone for SpriteSequenceId[src]

impl Copy for SpriteSequenceId[src]

impl Debug for SpriteSequenceId[src]

impl Default for SpriteSequenceId[src]

impl<'de> Deserialize<'de> for SpriteSequenceId[src]

impl Eq for SpriteSequenceId[src]

impl Hash for SpriteSequenceId[src]

impl PartialEq<SpriteSequenceId> for SpriteSequenceId[src]

impl Serialize for SpriteSequenceId[src]

impl StructuralEq for SpriteSequenceId[src]

impl StructuralPartialEq for SpriteSequenceId[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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, 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>,