Struct fit_file::fit_file::FieldDefinition
source · pub struct FieldDefinition {
pub field_def: u8,
pub size: u8,
pub base_type: u8,
pub is_dev_field: bool,
}
Expand description
Encapsulates a custom field definition, as described by definition messages and used by data messages.
Fields§
§field_def: u8
§size: u8
§base_type: u8
§is_dev_field: bool
Trait Implementations§
source§impl Clone for FieldDefinition
impl Clone for FieldDefinition
source§fn clone(&self) -> FieldDefinition
fn clone(&self) -> FieldDefinition
Returns a copy 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 FieldDefinition
impl Debug for FieldDefinition
source§impl Default for FieldDefinition
impl Default for FieldDefinition
source§fn default() -> FieldDefinition
fn default() -> FieldDefinition
Returns the “default value” for a type. Read more
source§impl Ord for FieldDefinition
impl Ord for FieldDefinition
source§impl PartialEq for FieldDefinition
impl PartialEq for FieldDefinition
source§impl PartialOrd for FieldDefinition
impl PartialOrd for FieldDefinition
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for FieldDefinition
impl Eq for FieldDefinition
Auto Trait Implementations§
impl RefUnwindSafe for FieldDefinition
impl Send for FieldDefinition
impl Sync for FieldDefinition
impl Unpin for FieldDefinition
impl UnwindSafe for FieldDefinition
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