[][src]Struct h264_reader::rbsp::RbspDecoder

pub struct RbspDecoder<R> where
    R: NalHandler
{ /* fields omitted */ }

Methods

impl<R> RbspDecoder<R> where
    R: NalHandler
[src]

pub fn new(nal_reader: R) -> Self[src]

pub fn into_handler(self) -> R[src]

Trait Implementations

impl<R> NalHandler for RbspDecoder<R> where
    R: NalHandler
[src]

type Ctx = R::Ctx

fn end(&mut self, ctx: &mut Context<Self::Ctx>)[src]

To be invoked when calling code knows that the end of a sequence of NAL Unit data has been reached.

For example, if the containing data structure demarcates the end of a sequence of NAL Units explicitly, the parser for that structure should call end_units() once all data has been passed to the push() function.

Auto Trait Implementations

impl<R> Send for RbspDecoder<R> where
    R: Send

impl<R> Sync for RbspDecoder<R> where
    R: Sync

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]