pub struct WebPIDecoder { /* private fields */ }Expand description
The incremental decoder behind C’s opaque WebPIDecoder*.
The translation’s decoder borrows the Rust forms of the caller’s
configuration or output buffer, which live in leaked boxes until
WebPIDelete() drops the decoder and frees them. The memory of both its own
output buffer and the caller’s is lent per call (own_lent, user_lent);
library samples move into a block after the call that allocates them: the
caller’s buffer receives it as private_memory, and the decoder’s own block
is freed at WebPIDelete(). With slow memory the decoder works in its own
buffer and copies into the caller’s at the end.
Auto Trait Implementations§
impl !RefUnwindSafe for WebPIDecoder
impl !Send for WebPIDecoder
impl !Sync for WebPIDecoder
impl !UnwindSafe for WebPIDecoder
impl Forget for WebPIDecoder
impl Freeze for WebPIDecoder
impl Move for WebPIDecoder
impl Unpin for WebPIDecoder
impl UnsafeUnpin for WebPIDecoder
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