pub struct BrotliSharedDictionary<AllocU8: Allocator<u8>, AllocU32: Allocator<u32>> {
pub context_based: bool,
pub num_dictionaries: u8,
pub num_word_lists: u8,
pub num_transform_lists: u8,
pub context_map: [u8; 64],
pub words_index: [u8; 64],
pub transforms_index: [u8; 64],
pub blob: MaybeOwnedSlice<AllocU8>,
pub meta: AllocU32::AllocatedMemory,
}Fields§
§context_based: bool§num_dictionaries: u8§num_word_lists: u8§num_transform_lists: u8§context_map: [u8; 64]§words_index: [u8; 64]§transforms_index: [u8; 64]§blob: MaybeOwnedSlice<AllocU8>§meta: AllocU32::AllocatedMemoryImplementations§
pub(crate) fn is_custom(&self) -> bool
pub(crate) fn words_of(&self, dict_id: u8) -> DictWords<'_>
pub(crate) fn lookup( &self, dict_id: u8, len: i32, address: i32, ) -> Result<DictionaryLookup<'_>, DictionaryLookupError>
pub(crate) fn transforms_of(&self, dict_id: u8) -> DictTransforms<'_>
Trait Implementations§
Auto Trait Implementations§
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