pub struct DictReaderRaw<B: Read + Seek> {
dict_data: B,
total_length: u64,
}Expand description
Raw Dict reader.
This reader can read uncompressed .dict files.
Fields§
§dict_data: B§total_length: u64Implementations§
Source§impl<B: Read + Seek> DictReaderRaw<B>
impl<B: Read + Seek> DictReaderRaw<B>
Sourcepub fn new(dict_data: B) -> Result<DictReaderRaw<B>, DictError>
pub fn new(dict_data: B) -> Result<DictReaderRaw<B>, DictError>
Get a new DictReader from a Reader.
Trait Implementations§
Source§impl<B: Read + Seek> DictReader for DictReaderRaw<B>
impl<B: Read + Seek> DictReader for DictReaderRaw<B>
Auto Trait Implementations§
impl<B> Freeze for DictReaderRaw<B>where
B: Freeze,
impl<B> RefUnwindSafe for DictReaderRaw<B>where
B: RefUnwindSafe,
impl<B> Send for DictReaderRaw<B>where
B: Send,
impl<B> Sync for DictReaderRaw<B>where
B: Sync,
impl<B> Unpin for DictReaderRaw<B>where
B: Unpin,
impl<B> UnwindSafe for DictReaderRaw<B>where
B: UnwindSafe,
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.