pub struct EncodedBitStream<'a> { /* private fields */ }Expand description
Bitstream output resulting from an encode() operation.
Implementations§
Source§impl<'a> EncodedBitStream<'a>
impl<'a> EncodedBitStream<'a>
Sourcepub const fn raw_info(&self) -> &'a SFrameBSInfo
pub const fn raw_info(&self) -> &'a SFrameBSInfo
Raw bitstream info returned by the encoder.
Sourcepub const fn frame_type(&self) -> FrameType
pub const fn frame_type(&self) -> FrameType
Frame type of the encoded packet.
Sourcepub const fn num_layers(&self) -> usize
pub const fn num_layers(&self) -> usize
Number of layers in the encoded packet.
Auto Trait Implementations§
impl<'a> Freeze for EncodedBitStream<'a>
impl<'a> RefUnwindSafe for EncodedBitStream<'a>
impl<'a> !Send for EncodedBitStream<'a>
impl<'a> !Sync for EncodedBitStream<'a>
impl<'a> Unpin for EncodedBitStream<'a>
impl<'a> UnsafeUnpin for EncodedBitStream<'a>
impl<'a> UnwindSafe for EncodedBitStream<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more