pub struct Plan {
pub quantity: String,
pub from: String,
pub to: String,
pub offset: f32,
pub scale: f32,
}Expand description
How a profile’s reading is taken from a wired part: which of the part’s quantities, and how it is brought into the profile’s unit.
Fields§
§quantity: StringThe quantity, as the profile names it.
from: StringThe unit the part reads it in.
to: StringThe unit the profile’s numbers are in.
offset: f32The correction the wiring adds after the unit is right.
scale: f32The factor the wiring multiplies in before the offset.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Plan
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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