pub struct SkeletonKey(/* private fields */);Expand description
Strongly-typed handle for skeleton resources.
Skeletons are shared resources that can be referenced by multiple skinned mesh instances.
Trait Implementations§
Source§impl Clone for SkeletonKey
impl Clone for SkeletonKey
Source§fn clone(&self) -> SkeletonKey
fn clone(&self) -> SkeletonKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SkeletonKey
impl Debug for SkeletonKey
Source§impl Default for SkeletonKey
impl Default for SkeletonKey
Source§fn default() -> SkeletonKey
fn default() -> SkeletonKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SkeletonKey
impl<'de> Deserialize<'de> for SkeletonKey
Source§fn deserialize<D>(
deserializer: D,
) -> Result<SkeletonKey, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<SkeletonKey, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<KeyData> for SkeletonKey
impl From<KeyData> for SkeletonKey
Source§fn from(k: KeyData) -> SkeletonKey
fn from(k: KeyData) -> SkeletonKey
Converts to this type from the input type.
Source§impl Hash for SkeletonKey
impl Hash for SkeletonKey
Source§impl Key for SkeletonKey
impl Key for SkeletonKey
Source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!, which calls this
method). Read moreSource§impl Ord for SkeletonKey
impl Ord for SkeletonKey
Source§fn cmp(&self, other: &SkeletonKey) -> Ordering
fn cmp(&self, other: &SkeletonKey) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SkeletonKey
impl PartialEq for SkeletonKey
Source§impl PartialOrd for SkeletonKey
impl PartialOrd for SkeletonKey
Source§impl Serialize for SkeletonKey
impl Serialize for SkeletonKey
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for SkeletonKey
impl Eq for SkeletonKey
impl StructuralPartialEq for SkeletonKey
Auto Trait Implementations§
impl Freeze for SkeletonKey
impl RefUnwindSafe for SkeletonKey
impl Send for SkeletonKey
impl Sync for SkeletonKey
impl Unpin for SkeletonKey
impl UnsafeUnpin for SkeletonKey
impl UnwindSafe for SkeletonKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().