Struct ambient_api::prelude::ProceduralMaterialHandle
source · pub struct ProceduralMaterialHandle(/* private fields */);
Expand description
Procedural storage handle type
Trait Implementations§
source§impl Clone for ProceduralMaterialHandle
impl Clone for ProceduralMaterialHandle
source§fn clone(&self) -> ProceduralMaterialHandle
fn clone(&self) -> ProceduralMaterialHandle
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 ProceduralMaterialHandle
impl Debug for ProceduralMaterialHandle
source§impl Default for ProceduralMaterialHandle
impl Default for ProceduralMaterialHandle
source§fn default() -> ProceduralMaterialHandle
fn default() -> ProceduralMaterialHandle
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ProceduralMaterialHandle
impl<'de> Deserialize<'de> for ProceduralMaterialHandle
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ProceduralMaterialHandle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ProceduralMaterialHandle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ProceduralMaterialHandle
impl Hash for ProceduralMaterialHandle
source§impl MessageSerde for ProceduralMaterialHandle
impl MessageSerde for ProceduralMaterialHandle
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<ProceduralMaterialHandle, MessageSerdeError>
fn deserialize_message_part( input: &mut dyn Read ) -> Result<ProceduralMaterialHandle, MessageSerdeError>
Deserialize this if possible.
source§impl Ord for ProceduralMaterialHandle
impl Ord for ProceduralMaterialHandle
source§fn cmp(&self, other: &ProceduralMaterialHandle) -> Ordering
fn cmp(&self, other: &ProceduralMaterialHandle) -> 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 ProceduralMaterialHandle
impl PartialEq for ProceduralMaterialHandle
source§fn eq(&self, other: &ProceduralMaterialHandle) -> bool
fn eq(&self, other: &ProceduralMaterialHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ProceduralMaterialHandle
impl PartialOrd for ProceduralMaterialHandle
source§fn partial_cmp(&self, other: &ProceduralMaterialHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &ProceduralMaterialHandle) -> 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 ProceduralMaterialHandle
impl Serialize for ProceduralMaterialHandle
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 ProceduralMaterialHandle
impl SupportedValue for ProceduralMaterialHandle
source§fn from_value(value: ComponentValue) -> Option<ProceduralMaterialHandle>
fn from_value(value: ComponentValue) -> Option<ProceduralMaterialHandle>
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 ProceduralMaterialHandle
impl Eq for ProceduralMaterialHandle
impl StructuralEq for ProceduralMaterialHandle
impl StructuralPartialEq for ProceduralMaterialHandle
Auto Trait Implementations§
impl RefUnwindSafe for ProceduralMaterialHandle
impl Send for ProceduralMaterialHandle
impl Sync for ProceduralMaterialHandle
impl Unpin for ProceduralMaterialHandle
impl UnwindSafe for ProceduralMaterialHandle
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.