Struct yy_typings::sprite_yy::SpriteSequenceId
source · [−]pub struct SpriteSequenceId(_);
Expand description
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
sourceimpl SpriteSequenceId
impl SpriteSequenceId
sourcepub fn with_string(input: &str) -> Self
pub fn with_string(input: &str) -> Self
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!
Trait Implementations
sourceimpl Clone for SpriteSequenceId
impl Clone for SpriteSequenceId
sourcefn clone(&self) -> SpriteSequenceId
fn clone(&self) -> SpriteSequenceId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SpriteSequenceId
impl Debug for SpriteSequenceId
sourceimpl Default for SpriteSequenceId
impl Default for SpriteSequenceId
sourcefn default() -> SpriteSequenceId
fn default() -> SpriteSequenceId
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SpriteSequenceId
impl<'de> Deserialize<'de> for SpriteSequenceId
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for SpriteSequenceId
impl Hash for SpriteSequenceId
sourceimpl PartialEq<SpriteSequenceId> for SpriteSequenceId
impl PartialEq<SpriteSequenceId> for SpriteSequenceId
sourcefn eq(&self, other: &SpriteSequenceId) -> bool
fn eq(&self, other: &SpriteSequenceId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SpriteSequenceId) -> bool
fn ne(&self, other: &SpriteSequenceId) -> bool
This method tests for !=
.
sourceimpl Serialize for SpriteSequenceId
impl Serialize for SpriteSequenceId
impl Copy for SpriteSequenceId
impl Eq for SpriteSequenceId
impl StructuralEq for SpriteSequenceId
impl StructuralPartialEq for SpriteSequenceId
Auto Trait Implementations
impl RefUnwindSafe for SpriteSequenceId
impl Send for SpriteSequenceId
impl Sync for SpriteSequenceId
impl Unpin for SpriteSequenceId
impl UnwindSafe for SpriteSequenceId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more