Fields
distance_average_length: u8
velocity_average_length: u8
Trait Implementations
sourceimpl Clone for MovingAverage
impl Clone for MovingAverage
sourcefn clone(&self) -> MovingAverage
fn clone(&self) -> MovingAverage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MovingAverage
impl Debug for MovingAverage
sourceimpl Default for MovingAverage
impl Default for MovingAverage
sourcefn default() -> MovingAverage
fn default() -> MovingAverage
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for MovingAverage
impl FromByteSlice for MovingAverage
sourcefn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
sourcefn from_le_bytes(bytes: &[u8]) -> MovingAverage
fn from_le_bytes(bytes: &[u8]) -> MovingAverage
Deserialize the implementing type from a byte slice.
sourceimpl Hash for MovingAverage
impl Hash for MovingAverage
sourceimpl PartialEq<MovingAverage> for MovingAverage
impl PartialEq<MovingAverage> for MovingAverage
sourcefn eq(&self, other: &MovingAverage) -> bool
fn eq(&self, other: &MovingAverage) -> bool
impl Copy for MovingAverage
impl Eq for MovingAverage
impl StructuralEq for MovingAverage
impl StructuralPartialEq for MovingAverage
Auto Trait Implementations
impl RefUnwindSafe for MovingAverage
impl Send for MovingAverage
impl Sync for MovingAverage
impl Unpin for MovingAverage
impl UnwindSafe for MovingAverage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more