Struct comfy_core::ParticleDraw
source · pub struct ParticleDraw {
pub position: Vec3,
pub rotation: f32,
pub texture: TextureHandle,
pub color: Color,
pub size: Vec2,
pub source_rect: Option<IRect>,
pub blend_mode: BlendMode,
}
Fields§
§position: Vec3
§rotation: f32
§texture: TextureHandle
§color: Color
§size: Vec2
§source_rect: Option<IRect>
§blend_mode: BlendMode
Trait Implementations§
source§impl Clone for ParticleDraw
impl Clone for ParticleDraw
source§fn clone(&self) -> ParticleDraw
fn clone(&self) -> ParticleDraw
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 ParticleDraw
impl Debug for ParticleDraw
impl Copy for ParticleDraw
Auto Trait Implementations§
impl RefUnwindSafe for ParticleDraw
impl Send for ParticleDraw
impl Sync for ParticleDraw
impl Unpin for ParticleDraw
impl UnwindSafe for ParticleDraw
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