pub struct PreflateInput<'a> { /* private fields */ }Implementations§
Source§impl<'a> PreflateInput<'a>
impl<'a> PreflateInput<'a>
pub fn new(v: &'a PlainText) -> Self
pub fn pos(&self) -> u32
Sourcepub fn total_length(&self) -> u32
pub fn total_length(&self) -> u32
total length of the data all the way back to the beginning
pub fn cur_chars(&self, offset: i32) -> &[u8] ⓘ
pub fn cur_char(&self, offset: i32) -> u8
pub fn advance(&mut self, l: u32)
pub fn remaining(&self) -> u32
Trait Implementations§
Source§impl<'a> Clone for PreflateInput<'a>
impl<'a> Clone for PreflateInput<'a>
Source§fn clone(&self) -> PreflateInput<'a>
fn clone(&self) -> PreflateInput<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for PreflateInput<'a>
impl<'a> RefUnwindSafe for PreflateInput<'a>
impl<'a> Send for PreflateInput<'a>
impl<'a> Sync for PreflateInput<'a>
impl<'a> Unpin for PreflateInput<'a>
impl<'a> UnsafeUnpin for PreflateInput<'a>
impl<'a> UnwindSafe for PreflateInput<'a>
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