Struct azalea_core::DustParticle
source · pub struct DustParticle {
pub red: f32,
pub green: f32,
pub blue: f32,
pub scale: f32,
}
Fields§
§red: f32
Red value, 0-1
green: f32
Green value, 0-1
blue: f32
Blue value, 0-1
scale: f32
The scale, will be clamped between 0.01 and 4.
Trait Implementations§
source§impl Clone for DustParticle
impl Clone for DustParticle
source§fn clone(&self) -> DustParticle
fn clone(&self) -> DustParticle
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 DustParticle
impl Debug for DustParticle
source§impl McBufReadable for DustParticle
impl McBufReadable for DustParticle
source§impl McBufWritable for DustParticle
impl McBufWritable for DustParticle
Auto Trait Implementations§
impl RefUnwindSafe for DustParticle
impl Send for DustParticle
impl Sync for DustParticle
impl Unpin for DustParticle
impl UnwindSafe for DustParticle
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