pub struct DevFieldInfo {
pub name: String,
pub base_type: BaseType,
pub scale: Option<f64>,
pub offset: Option<f64>,
pub units: Option<String>,
}Expand description
Runtime description of a single developer field.
Fields§
§name: StringHuman-readable name from field_description.field_name.
base_type: BaseTypeBase type code (raw fit_base_type_id byte, masked to & 0x1F).
scale: Option<f64>Scale factor (None or 1.0 means identity).
offset: Option<f64>Offset (None or 0.0 means identity).
units: Option<String>Display units from field_description.units.
Trait Implementations§
Source§impl Clone for DevFieldInfo
impl Clone for DevFieldInfo
Source§fn clone(&self) -> DevFieldInfo
fn clone(&self) -> DevFieldInfo
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 moreAuto Trait Implementations§
impl Freeze for DevFieldInfo
impl RefUnwindSafe for DevFieldInfo
impl Send for DevFieldInfo
impl Sync for DevFieldInfo
impl Unpin for DevFieldInfo
impl UnsafeUnpin for DevFieldInfo
impl UnwindSafe for DevFieldInfo
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