Struct rsmpeg::avformat::AVStreamRef[][src]

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

Implementations

Safety

This function should only be called when raw is valid and can be dropped. Please ensure its lifetime when used.

Methods from Deref<Target = AVStream>

Guess the frame rate, based on both the container and codec information.

Return None when index is not valid. Some(0/1) if no idea.

Returns the pts of the last muxed packet + its duration the retuned value is None when used with a demuxer.

Get codec parameters of current stream.

Get metadata of current stream.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.