pub struct TrailOptions {
pub segments: u8,
pub taper: Option<ParticleCurve>,
pub fade: Option<ParticleCurve>,
pub smooth: bool,
pub ribbon: bool,
}Expand description
Historical sampling shared by all particles at each requested boundary.
Fields§
§segments: u8Number of historical intervals, in 1..=64; the default is eight.
taper: Option<ParticleCurve>Width along the historical interval; None preserves constant width.
fade: Option<ParticleCurve>Premultiplied fade along the interval.
smooth: boolCatmull-Rom interpolation with bounded adaptive subdivision.
ribbon: boolFlat-ended continuous strip instead of rounded segments; with smooth, bends
are subdivided up to eight times per interval to close join gaps.
Trait Implementations§
Source§impl Clone for TrailOptions
impl Clone for TrailOptions
Auto Trait Implementations§
impl !RefUnwindSafe for TrailOptions
impl !UnwindSafe for TrailOptions
impl Forget for TrailOptions
impl Freeze for TrailOptions
impl Send for TrailOptions
impl Sync for TrailOptions
impl Unpin for TrailOptions
impl UnsafeUnpin for TrailOptions
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