pub struct TrailSample {
pub position: [f32; 3],
pub color: [f32; 4],
pub width: f32,
}Fields§
§position: [f32; 3]§color: [f32; 4]§width: f32Trait Implementations§
Source§impl Clone for TrailSample
impl Clone for TrailSample
Source§fn clone(&self) -> TrailSample
fn clone(&self) -> TrailSample
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 TrailSample
impl Debug for TrailSample
Source§impl Default for TrailSample
impl Default for TrailSample
Source§fn default() -> TrailSample
fn default() -> TrailSample
Returns the “default value” for a type. Read more
Source§impl PartialEq for TrailSample
impl PartialEq for TrailSample
impl Copy for TrailSample
impl StructuralPartialEq for TrailSample
Auto Trait Implementations§
impl Freeze for TrailSample
impl RefUnwindSafe for TrailSample
impl Send for TrailSample
impl Sync for TrailSample
impl Unpin for TrailSample
impl UnwindSafe for TrailSample
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