Struct fit_file::FitFieldValue [−][src]
pub struct FitFieldValue { pub field_def: u8, pub field_type: FieldType, pub num_uint: u64, pub num_sint: i64, pub num_float: f64, pub byte_array: Vec<u8>, pub string: String, }
Fields
field_def: u8
field_type: FieldType
num_uint: u64
num_sint: i64
num_float: f64
byte_array: Vec<u8>
string: String
Implementations
impl FitFieldValue
[src]
pub fn new() -> Self
[src]
pub fn get_i8(&self) -> i8
[src]
pub fn get_i16(&self) -> i16
[src]
pub fn get_i32(&self) -> i32
[src]
pub fn get_i64(&self) -> i64
[src]
pub fn get_u8(&self) -> u8
[src]
pub fn get_u16(&self) -> u16
[src]
pub fn get_u32(&self) -> u32
[src]
pub fn get_u64(&self) -> u64
[src]
Auto Trait Implementations
impl RefUnwindSafe for FitFieldValue
impl Send for FitFieldValue
impl Sync for FitFieldValue
impl Unpin for FitFieldValue
impl UnwindSafe for FitFieldValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,