pub struct Data<'a> { /* private fields */ }
Expand description
The encoded data, to be used in chunks or in its entirety.
The length (in NAL units, not in bytes) of this data sequence.
The i
th unit.
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.
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.