pub struct DecoderDictionary { /* private fields */ }Expand description
A dictionary prepared for decoding (tables built once, shared by any number of frames).
Implementations§
Source§impl DecoderDictionary
impl DecoderDictionary
Sourcepub fn new(dict: Dictionary) -> Result<DecoderDictionary>
pub fn new(dict: Dictionary) -> Result<DecoderDictionary>
Builds the decoding tables for dict once.
Sourcepub fn dictionary(&self) -> &Dictionary
pub fn dictionary(&self) -> &Dictionary
The underlying dictionary.
Auto Trait Implementations§
impl Freeze for DecoderDictionary
impl RefUnwindSafe for DecoderDictionary
impl Send for DecoderDictionary
impl Sync for DecoderDictionary
impl Unpin for DecoderDictionary
impl UnsafeUnpin for DecoderDictionary
impl UnwindSafe for DecoderDictionary
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