pub struct SetAttachedParticle(pub u32);
Expand description
Represents the “set_attached_particle” attribute.
Tuple Fields§
§0: u32
Trait Implementations§
Source§impl AsRef<u32> for SetAttachedParticle
impl AsRef<u32> for SetAttachedParticle
Source§impl Attribute for SetAttachedParticle
impl Attribute for SetAttachedParticle
Source§const USES_FLOAT_VALUE: bool = true
const USES_FLOAT_VALUE: bool = true
Not part of the schema. Read more
Source§const ATTRIBUTE: AttributeDef
const ATTRIBUTE: AttributeDef
The attribute definition.
Source§fn attribute_float_value(&self) -> Option<f32>
fn attribute_float_value(&self) -> Option<f32>
Gets the attribute float value.
Source§fn attribute_value(&self) -> AttributeValue
fn attribute_value(&self) -> AttributeValue
Gets the attribute value.
Source§impl Borrow<u32> for SetAttachedParticle
impl Borrow<u32> for SetAttachedParticle
Source§impl Clone for SetAttachedParticle
impl Clone for SetAttachedParticle
Source§fn clone(&self) -> SetAttachedParticle
fn clone(&self) -> SetAttachedParticle
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 SetAttachedParticle
impl Debug for SetAttachedParticle
Source§impl Default for SetAttachedParticle
impl Default for SetAttachedParticle
Source§fn default() -> SetAttachedParticle
fn default() -> SetAttachedParticle
Returns the “default value” for a type. Read more
Source§impl Deref for SetAttachedParticle
impl Deref for SetAttachedParticle
Source§impl From<&u32> for SetAttachedParticle
impl From<&u32> for SetAttachedParticle
Source§impl From<u32> for SetAttachedParticle
impl From<u32> for SetAttachedParticle
Source§impl Hash for SetAttachedParticle
impl Hash for SetAttachedParticle
Source§impl PartialEq for SetAttachedParticle
impl PartialEq for SetAttachedParticle
Source§impl TryFromIntAttributeValue for SetAttachedParticle
impl TryFromIntAttributeValue for SetAttachedParticle
Source§fn try_from_attribute_value(v: AttributeValue) -> Option<Self>
fn try_from_attribute_value(v: AttributeValue) -> Option<Self>
Attempts conversion from an attribute value.
Source§fn try_from_attribute_float_value(v: f32) -> Option<Self>
fn try_from_attribute_float_value(v: f32) -> Option<Self>
Attempts conversion from an attribute float value.
impl Copy for SetAttachedParticle
impl Eq for SetAttachedParticle
impl StructuralPartialEq for SetAttachedParticle
Auto Trait Implementations§
impl Freeze for SetAttachedParticle
impl RefUnwindSafe for SetAttachedParticle
impl Send for SetAttachedParticle
impl Sync for SetAttachedParticle
impl Unpin for SetAttachedParticle
impl UnwindSafe for SetAttachedParticle
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