pub struct RippleSample {
pub origin: Vec2,
pub radius_px: f32,
pub alpha: f32,
pub color: Rgba,
pub alive: bool,
}Fields§
§origin: Vec2§radius_px: f32§alpha: f32§color: Rgba§alive: boolTrait Implementations§
Source§impl Clone for RippleSample
impl Clone for RippleSample
Source§fn clone(&self) -> RippleSample
fn clone(&self) -> RippleSample
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RippleSample
Source§impl Debug for RippleSample
impl Debug for RippleSample
Source§impl PartialEq for RippleSample
impl PartialEq for RippleSample
Source§fn eq(&self, other: &RippleSample) -> bool
fn eq(&self, other: &RippleSample) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RippleSample
Auto Trait Implementations§
impl Freeze for RippleSample
impl RefUnwindSafe for RippleSample
impl Send for RippleSample
impl Sync for RippleSample
impl Unpin for RippleSample
impl UnsafeUnpin for RippleSample
impl UnwindSafe for RippleSample
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