[][src]Struct riffu::eager::riff::RiffRam

pub struct RiffRam { /* fields omitted */ }

An eager representation of a RIFF file.

Implementations

impl RiffRam[src]

pub fn id(&self) -> FourCC[src]

pub fn payload_len(&self) -> u32[src]

pub fn iter(&self) -> RiffResult<ChunkRamIter<'_>>[src]

pub fn from_file<T>(path: T) -> RiffResult<Self> where
    T: Into<PathBuf>, 
[src]

pub fn as_bytes(&self) -> &[u8][src]

Trait Implementations

impl Debug for RiffRam[src]

impl<'a> TryFrom<&'a RiffRam> for ChunkRam<'a>[src]

type Error = RiffError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for RiffRam

impl Send for RiffRam

impl Sync for RiffRam

impl Unpin for RiffRam

impl UnwindSafe for RiffRam

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.