Struct fit_file::fit_file::Fit [−][src]
pub struct Fit { pub header: FitHeader, }
Parses a FIT file.
Fields
header: FitHeader
Implementations
impl Fit
[src]
impl Fit
[src]pub fn new() -> Self
[src]
pub fn read<R: Read>(
&mut self,
reader: &mut BufReader<R>,
callback: fn(timestamp: u32, global_message_num: u16, local_message_type: u8, message_index: u16, data: Vec<FitFieldValue>, context: *mut c_void),
context: *mut c_void
) -> Result<()>
[src]
&mut self,
reader: &mut BufReader<R>,
callback: fn(timestamp: u32, global_message_num: u16, local_message_type: u8, message_index: u16, data: Vec<FitFieldValue>, context: *mut c_void),
context: *mut c_void
) -> Result<()>
Reads the FIT data from the buffer.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Fit
impl RefUnwindSafe for Fit
impl UnwindSafe for Fit
impl UnwindSafe for Fit