#[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 Freeze for ZSTD_inBuffer_s
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)