[−][src]Struct fitparse::FitParseConfig
Implementations
impl FitParseConfig
[src]
pub fn new(
field: FitFieldDefinition,
endianness: Endianness,
tz_offset: f64
) -> FitParseConfig
[src]
field: FitFieldDefinition,
endianness: Endianness,
tz_offset: f64
) -> FitParseConfig
pub fn new_from_component(
definition_number: u8,
field_size: usize,
base_type: u8,
endianness: Endianness,
bit_start: usize,
num_bits: usize,
scale_and_offset: Option<(f64, f64)>,
units: Option<String>
) -> FitParseConfig
[src]
definition_number: u8,
field_size: usize,
base_type: u8,
endianness: Endianness,
bit_start: usize,
num_bits: usize,
scale_and_offset: Option<(f64, f64)>,
units: Option<String>
) -> FitParseConfig
pub fn add_bytes_to_parse(&self, bytes: &[u8]) -> FitParseConfig
[src]
pub fn use_stored_input(&self) -> bool
[src]
pub fn get_stored_input(&self) -> Result<Vec<u8>>
[src]
pub fn field_definition_number(&self) -> u8
[src]
pub fn is_array(&self) -> bool
[src]
pub fn endianness(&self) -> Endianness
[src]
pub fn field_size(&self) -> usize
[src]
pub fn num_in_field(&self) -> usize
[src]
pub fn base_type_size(&self) -> usize
[src]
pub fn tz_offset_secs(&self) -> f64
[src]
pub fn base_type(&self) -> FitFieldFitBaseType
[src]
pub fn is_string(&self) -> bool
[src]
pub fn is_byte(&self) -> bool
[src]
Trait Implementations
impl Clone for FitParseConfig
[src]
fn clone(&self) -> FitParseConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FitParseConfig
[src]
impl PartialEq<FitParseConfig> for FitParseConfig
[src]
fn eq(&self, other: &FitParseConfig) -> bool
[src]
fn ne(&self, other: &FitParseConfig) -> bool
[src]
impl StructuralPartialEq for FitParseConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for FitParseConfig
impl Send for FitParseConfig
impl Sync for FitParseConfig
impl Unpin for FitParseConfig
impl UnwindSafe for FitParseConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Src where
Scheme: ApproxScheme,
[src]
Scheme: ApproxScheme,
type Err = NoError
The error type produced by a failed conversion.
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
[src]
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
[src]
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
The error type produced by a failed conversion.
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, Dst> ConvAsUtil<Dst> for T
[src]
fn approx(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, DefaultApprox>,
[src]
Self: ApproxInto<Dst, DefaultApprox>,
fn approx_by<Scheme>(self) -> Result<Dst, Self::Err> where
Scheme: ApproxScheme,
Self: ApproxInto<Dst, Scheme>,
[src]
Scheme: ApproxScheme,
Self: ApproxInto<Dst, Scheme>,
impl<T> ConvUtil for T
[src]
fn approx_as<Dst>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, DefaultApprox>,
[src]
Self: ApproxInto<Dst, DefaultApprox>,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err> where
Scheme: ApproxScheme,
Self: ApproxInto<Dst, Scheme>,
[src]
Scheme: ApproxScheme,
Self: ApproxInto<Dst, Scheme>,
fn into_as<Dst>(self) -> Dst where
Self: Into<Dst>,
[src]
Self: Into<Dst>,
fn try_as<Dst>(self) -> Result<Dst, Self::Err> where
Self: TryInto<Dst>,
[src]
Self: TryInto<Dst>,
fn value_as<Dst>(self) -> Result<Dst, Self::Err> where
Self: ValueInto<Dst>,
[src]
Self: ValueInto<Dst>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<Src> TryFrom<Src> for Src
[src]
type Err = NoError
The error type produced by a failed conversion.
fn try_from(src: Src) -> Result<Src, <Src as TryFrom<Src>>::Err>
[src]
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.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<Src, Dst> TryInto<Dst> for Src where
Dst: TryFrom<Src>,
[src]
Dst: TryFrom<Src>,
type Err = <Dst as TryFrom<Src>>::Err
The error type produced by a failed conversion.
fn try_into(self) -> Result<Dst, <Src as TryInto<Dst>>::Err>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<Src> ValueFrom<Src> for Src
[src]
type Err = NoError
The error type produced by a failed conversion.
fn value_from(src: Src) -> Result<Src, <Src as ValueFrom<Src>>::Err>
[src]
impl<Src, Dst> ValueInto<Dst> for Src where
Dst: ValueFrom<Src>,
[src]
Dst: ValueFrom<Src>,