Struct rsmpeg::avformat::AVStreamMut[][src]

pub struct AVStreamMut<'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>

Safety

This function should only be called when the pointer is valid and the data it’s pointing to can be dropped.

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 mutable reference of codec parameters in current stream.

Set codecpar of current stream with given parameters.

Get metadata of current stream.

Get mutable reference of metadata in current stream.

Set metadata of current AVStream.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably 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.