[][src]Struct lf2_parse::ObjectData

pub struct ObjectData {
    pub header: Header,
    pub frames: Frames,
}

Fields

header: Headerframes: Frames

Implementations

impl ObjectData[src]

pub fn open(path: &Path) -> Result<String, Error<'static>>[src]

Returns the object data string, decoding it if necessary.

Parameters

  • path: Path to the object data file to open.

Trait Implementations

impl Debug for ObjectData[src]

impl Default for ObjectData[src]

impl PartialEq<ObjectData> for ObjectData[src]

impl StructuralPartialEq for ObjectData[src]

impl<'s> TryFrom<&'s str> for ObjectData[src]

type Error = Error<'s>

The type returned in the event of a conversion error.

impl<'i> TryFrom<Pair<'i, Rule>> for ObjectData[src]

type Error = Error<'i>

The type returned in the event of a conversion error.

Auto Trait Implementations

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.