Struct zstd_sys::ZSTD_inBuffer_s
source · #[repr(C)]pub struct ZSTD_inBuffer_s {
pub src: *const c_void,
pub size: usize,
pub pos: usize,
}
Expand description
Streaming
Fields§
§src: *const c_void
< start of input buffer
size: usize
< size of input buffer
pos: usize
< position where reading stopped. Will be updated. Necessarily 0 <= pos <= size
Trait Implementations§
source§impl Clone for ZSTD_inBuffer_s
impl Clone for ZSTD_inBuffer_s
source§fn clone(&self) -> ZSTD_inBuffer_s
fn clone(&self) -> ZSTD_inBuffer_s
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ZSTD_inBuffer_s
impl Debug for ZSTD_inBuffer_s
impl Copy for ZSTD_inBuffer_s
Auto Trait Implementations§
impl RefUnwindSafe for ZSTD_inBuffer_s
impl !Send for ZSTD_inBuffer_s
impl !Sync for ZSTD_inBuffer_s
impl Unpin for ZSTD_inBuffer_s
impl UnwindSafe for ZSTD_inBuffer_s
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