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