Struct ambient_api::prelude::ProceduralMeshHandle
source · pub struct ProceduralMeshHandle(/* private fields */);
Expand description
Procedural storage handle type
Trait Implementations§
source§impl Clone for ProceduralMeshHandle
impl Clone for ProceduralMeshHandle
source§fn clone(&self) -> ProceduralMeshHandle
fn clone(&self) -> ProceduralMeshHandle
Returns a copy 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 ProceduralMeshHandle
impl Debug for ProceduralMeshHandle
source§impl Default for ProceduralMeshHandle
impl Default for ProceduralMeshHandle
source§fn default() -> ProceduralMeshHandle
fn default() -> ProceduralMeshHandle
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ProceduralMeshHandle
impl<'de> Deserialize<'de> for ProceduralMeshHandle
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ProceduralMeshHandle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ProceduralMeshHandle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ProceduralMeshHandle
impl Hash for ProceduralMeshHandle
source§impl MessageSerde for ProceduralMeshHandle
impl MessageSerde for ProceduralMeshHandle
source§fn serialize_message_part(
&self,
output: &mut Vec<u8>
) -> Result<(), MessageSerdeError>
fn serialize_message_part( &self, output: &mut Vec<u8> ) -> Result<(), MessageSerdeError>
Serialize this to a
Vec<u8>
.source§fn deserialize_message_part(
input: &mut dyn Read
) -> Result<ProceduralMeshHandle, MessageSerdeError>
fn deserialize_message_part( input: &mut dyn Read ) -> Result<ProceduralMeshHandle, MessageSerdeError>
Deserialize this if possible.
source§impl Ord for ProceduralMeshHandle
impl Ord for ProceduralMeshHandle
source§fn cmp(&self, other: &ProceduralMeshHandle) -> Ordering
fn cmp(&self, other: &ProceduralMeshHandle) -> 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 ProceduralMeshHandle
impl PartialEq for ProceduralMeshHandle
source§fn eq(&self, other: &ProceduralMeshHandle) -> bool
fn eq(&self, other: &ProceduralMeshHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ProceduralMeshHandle
impl PartialOrd for ProceduralMeshHandle
source§fn partial_cmp(&self, other: &ProceduralMeshHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &ProceduralMeshHandle) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ProceduralMeshHandle
impl Serialize for ProceduralMeshHandle
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
source§impl SupportedValue for ProceduralMeshHandle
impl SupportedValue for ProceduralMeshHandle
source§fn from_value(value: ComponentValue) -> Option<ProceduralMeshHandle>
fn from_value(value: ComponentValue) -> Option<ProceduralMeshHandle>
Converts a
ComponentValue
into a Self
.source§fn into_value(self) -> ComponentValue
fn into_value(self) -> ComponentValue
Converts a
Self
into a ComponentValue
.impl Copy for ProceduralMeshHandle
impl Eq for ProceduralMeshHandle
impl StructuralEq for ProceduralMeshHandle
impl StructuralPartialEq for ProceduralMeshHandle
Auto Trait Implementations§
impl RefUnwindSafe for ProceduralMeshHandle
impl Send for ProceduralMeshHandle
impl Sync for ProceduralMeshHandle
impl Unpin for ProceduralMeshHandle
impl UnwindSafe for ProceduralMeshHandle
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<T> Downcast for T
impl<T> Downcast for T
source§impl<T> ElementComponentName for T
impl<T> ElementComponentName for T
source§fn element_component_name(&self) -> &'static str
fn element_component_name(&self) -> &'static str
Returns the name of the type implementing ElementComponent.
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.