Struct rsmpeg::avcodec::AVCodecParametersMut[][src]

pub struct AVCodecParametersMut<'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 = AVCodecParameters>

Safety

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

Fill current codecpar based on the values from the supplied AVCodecContext. Any allocated fields in this codecpar are freed and replaced with duplicates of the corresponding fields in codec.

Copy the contents from another AVCodecParameters. Any allocated fields in dst are freed and replaced with newly allocated duplicates of the corresponding fields in src.

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.