Struct x264::Data

source ·
pub struct Data<'a> { /* private fields */ }
Expand description

The encoded data, to be used in chunks or in its entirety.

Implementations§

The length (in NAL units, not in bytes) of this data sequence.

The ith unit.

Panics

Panics if i is out-of-bounds. In order to be within the bounds, i must be less than len.

The entire chunk of data, as one big byte-slice.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.