pub struct GeometryHandle(/* private fields */);Expand description
Handle to a geometry asset in the AssetStorage.
Trait Implementations§
Source§impl Clone for GeometryHandle
impl Clone for GeometryHandle
Source§fn clone(&self) -> GeometryHandle
fn clone(&self) -> GeometryHandle
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 GeometryHandle
impl Debug for GeometryHandle
Source§impl Default for GeometryHandle
impl Default for GeometryHandle
Source§fn default() -> GeometryHandle
fn default() -> GeometryHandle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GeometryHandle
impl<'de> Deserialize<'de> for GeometryHandle
Source§fn deserialize<D>(
deserializer: D,
) -> Result<GeometryHandle, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<GeometryHandle, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<KeyData> for GeometryHandle
impl From<KeyData> for GeometryHandle
Source§fn from(k: KeyData) -> GeometryHandle
fn from(k: KeyData) -> GeometryHandle
Converts to this type from the input type.
Source§impl Hash for GeometryHandle
impl Hash for GeometryHandle
Source§impl Key for GeometryHandle
impl Key for GeometryHandle
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 GeometryHandle
impl Ord for GeometryHandle
Source§fn cmp(&self, other: &GeometryHandle) -> Ordering
fn cmp(&self, other: &GeometryHandle) -> 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 GeometryHandle
impl PartialEq for GeometryHandle
Source§impl PartialOrd for GeometryHandle
impl PartialOrd for GeometryHandle
Source§impl ResolveGeometry for GeometryHandle
impl ResolveGeometry for GeometryHandle
fn resolve(self, _assets: &AssetServer) -> GeometryHandle
Source§impl Serialize for GeometryHandle
impl Serialize for GeometryHandle
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 GeometryHandle
impl Eq for GeometryHandle
impl StructuralPartialEq for GeometryHandle
Auto Trait Implementations§
impl Freeze for GeometryHandle
impl RefUnwindSafe for GeometryHandle
impl Send for GeometryHandle
impl Sync for GeometryHandle
impl Unpin for GeometryHandle
impl UnsafeUnpin for GeometryHandle
impl UnwindSafe for GeometryHandle
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<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
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().