Struct av_bitstream::codebook::Codebook
source · [−]pub struct Codebook<S> { /* private fields */ }
Expand description
The codebook structure for code reading.
Implementations
sourceimpl<S: Copy> Codebook<S>
impl<S: Copy> Codebook<S>
sourcepub fn new(
cb: &dyn CodebookDescReader<S>,
mode: CodebookMode
) -> Result<Self, CodebookError>
pub fn new(
cb: &dyn CodebookDescReader<S>,
mode: CodebookMode
) -> Result<Self, CodebookError>
Constructs a new Codebook
instance using provided
codebook description and mode.
Auto Trait Implementations
impl<S> RefUnwindSafe for Codebook<S> where
S: RefUnwindSafe,
impl<S> Send for Codebook<S> where
S: Send,
impl<S> Sync for Codebook<S> where
S: Sync,
impl<S> Unpin for Codebook<S> where
S: Unpin,
impl<S> UnwindSafe for Codebook<S> where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more