pub struct TrailConfig {
pub capacity: usize,
pub lifetime: f32,
pub spacing: f32,
pub teleport_distance: f32,
pub max_per_update: u16,
pub fade_width: bool,
}Fields§
§capacity: usize§lifetime: f32§spacing: f32§teleport_distance: f32Motion strictly beyond this distance starts a new segment automatically.
Use Trail::teleport for discontinuities within this distance.
max_per_update: u16§fade_width: boolTrait Implementations§
Source§impl Clone for TrailConfig
impl Clone for TrailConfig
Source§fn clone(&self) -> TrailConfig
fn clone(&self) -> TrailConfig
Returns a duplicate 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 TrailConfig
impl Debug for TrailConfig
Source§impl Default for TrailConfig
impl Default for TrailConfig
Source§fn default() -> TrailConfig
fn default() -> TrailConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for TrailConfig
impl PartialEq for TrailConfig
impl Copy for TrailConfig
impl StructuralPartialEq for TrailConfig
Auto Trait Implementations§
impl Freeze for TrailConfig
impl RefUnwindSafe for TrailConfig
impl Send for TrailConfig
impl Sync for TrailConfig
impl Unpin for TrailConfig
impl UnwindSafe for TrailConfig
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