pub struct PetalSource {
pub position: [f32; 3],
pub rate: f32,
pub seed: u64,
pub sway: SwayVertex,
}Fields§
§position: [f32; 3]§rate: f32§seed: u64§sway: SwayVertexTrait Implementations§
Source§impl Clone for PetalSource
impl Clone for PetalSource
Source§fn clone(&self) -> PetalSource
fn clone(&self) -> PetalSource
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 moreSource§impl Debug for PetalSource
impl Debug for PetalSource
Source§impl PartialEq for PetalSource
impl PartialEq for PetalSource
Source§fn eq(&self, other: &PetalSource) -> bool
fn eq(&self, other: &PetalSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PetalSource
impl StructuralPartialEq for PetalSource
Auto Trait Implementations§
impl Freeze for PetalSource
impl RefUnwindSafe for PetalSource
impl Send for PetalSource
impl Sync for PetalSource
impl Unpin for PetalSource
impl UnsafeUnpin for PetalSource
impl UnwindSafe for PetalSource
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