[][src]Struct sounding_bufkit::BufkitData

pub struct BufkitData<'a> { /* fields omitted */ }

References to different data sections within a BufkitFile mainly useful for generating iterators.

This is theoretically not necessary without lexical lifetimes.

Methods

impl<'a> BufkitData<'a>[src]

pub fn validate(&self) -> Result<(), Box<dyn Error>>[src]

Validate the whole string, ensure it is parseable and do some sanity checks.

pub fn init(
    text: &'a str,
    fname: &'a str
) -> Result<BufkitData<'a>, Box<dyn Error>>
[src]

Initialize struct for parsing a sounding.

Trait Implementations

impl<'a> IntoIterator for &'a BufkitData<'a>[src]

type Item = Analysis

The type of the elements being iterated over.

type IntoIter = SoundingIterator<'a>

Which kind of iterator are we turning this into?

Auto Trait Implementations

impl<'a> Send for BufkitData<'a>

impl<'a> Sync for BufkitData<'a>

Blanket Implementations

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.

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

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

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