Struct fit_file::fit_file::Fit[][src]

pub struct Fit {
    pub header: FitHeader,
}

Parses a FIT file.

Fields

header: FitHeader

Implementations

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]

Reads the FIT data from the buffer.

Trait Implementations

impl Debug for Fit[src]

impl Default for Fit[src]

Auto Trait Implementations

impl RefUnwindSafe for Fit

impl Send for Fit

impl Sync for Fit

impl Unpin for Fit

impl UnwindSafe for Fit

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.