Trait dsi_bitstream::traits::WordSeek
source · pub trait WordSeek {
type Error: Error + Send + Sync + 'static;
// Required methods
fn get_word_pos(&mut self) -> Result<u64, Self::Error>;
fn set_word_pos(&mut self, word_pos: u64) -> Result<(), Self::Error>;
}
Required Associated Types§
Required Methods§
sourcefn get_word_pos(&mut self) -> Result<u64, Self::Error>
fn get_word_pos(&mut self) -> Result<u64, Self::Error>
Get the current position in words from the start of the file.