pub struct TelemetryEquation {
pub a: f32,
pub b: f32,
pub c: f32,
}Expand description
Equation coefficients for one analog channel: value = a + b*raw + c*raw².
Fields§
§a: f32§b: f32§c: f32Implementations§
Trait Implementations§
Source§impl Clone for TelemetryEquation
impl Clone for TelemetryEquation
Source§fn clone(&self) -> TelemetryEquation
fn clone(&self) -> TelemetryEquation
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 TelemetryEquation
impl Debug for TelemetryEquation
Source§impl PartialEq for TelemetryEquation
impl PartialEq for TelemetryEquation
Source§fn eq(&self, other: &TelemetryEquation) -> bool
fn eq(&self, other: &TelemetryEquation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TelemetryEquation
Auto Trait Implementations§
impl Freeze for TelemetryEquation
impl RefUnwindSafe for TelemetryEquation
impl Send for TelemetryEquation
impl Sync for TelemetryEquation
impl Unpin for TelemetryEquation
impl UnsafeUnpin for TelemetryEquation
impl UnwindSafe for TelemetryEquation
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