Struct miniz_oxide::StreamResult [−][src]
pub struct StreamResult { pub bytes_consumed: usize, pub bytes_written: usize, pub status: MZResult, }
A structure containg the result of a call to the inflate or deflate streaming functions.
Fields
bytes_consumed: usize
The number of bytes consumed from the input slice.
bytes_written: usize
The number of bytes written to the output slice.
status: MZResult
The return status of the call.
Trait Implementations
impl Clone for StreamResult
[src]
impl Clone for StreamResult
[src]fn clone(&self) -> StreamResult
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<&'_ StreamResult> for MZResult
[src]
impl From<&'_ StreamResult> for MZResult
[src]fn from(res: &StreamResult) -> Self
[src]
impl From<StreamResult> for MZResult
[src]
impl From<StreamResult> for MZResult
[src]fn from(res: StreamResult) -> Self
[src]
impl Hash for StreamResult
[src]
impl Hash for StreamResult
[src]impl PartialEq<StreamResult> for StreamResult
[src]
impl PartialEq<StreamResult> for StreamResult
[src]fn eq(&self, other: &StreamResult) -> bool
[src]
fn ne(&self, other: &StreamResult) -> bool
[src]
impl Copy for StreamResult
[src]
impl Eq for StreamResult
[src]
impl StructuralEq for StreamResult
[src]
impl StructuralPartialEq for StreamResult
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
The resulting type after obtaining ownership.