pub struct LZOContext { /* private fields */ }Implementations§
Source§impl LZOContext
impl LZOContext
pub fn new() -> LZOContext
Sourcepub fn compress(&mut self, input: &[u8], output: &mut Vec<u8>) -> LZOError
pub fn compress(&mut self, input: &[u8], output: &mut Vec<u8>) -> LZOError
compress input into output
returns an error if the Vec is not large enough
Trait Implementations§
Source§impl Drop for LZOContext
impl Drop for LZOContext
Auto Trait Implementations§
impl !Send for LZOContext
impl !Sync for LZOContext
impl Freeze for LZOContext
impl RefUnwindSafe for LZOContext
impl Unpin for LZOContext
impl UnsafeUnpin for LZOContext
impl UnwindSafe for LZOContext
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