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