pub struct DustParticleData {
pub red: f32,
pub green: f32,
pub blue: f32,
pub scale: f32,
}
Fields§
§red: f32
§green: f32
§blue: f32
§scale: f32
Trait Implementations§
Source§impl Clone for DustParticleData
impl Clone for DustParticleData
Source§fn clone(&self) -> DustParticleData
fn clone(&self) -> DustParticleData
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 DustParticleData
impl Debug for DustParticleData
Source§impl Deserialize for DustParticleData
impl Deserialize for DustParticleData
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<DustParticleData> for (f32, f32, f32, f32)
impl From<DustParticleData> for (f32, f32, f32, f32)
Source§fn from(other: DustParticleData) -> Self
fn from(other: DustParticleData) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DustParticleData
impl PartialEq for DustParticleData
Source§impl Serialize for DustParticleData
impl Serialize for DustParticleData
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for DustParticleData
Auto Trait Implementations§
impl Freeze for DustParticleData
impl RefUnwindSafe for DustParticleData
impl Send for DustParticleData
impl Sync for DustParticleData
impl Unpin for DustParticleData
impl UnwindSafe for DustParticleData
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