#[repr(C)]pub struct ustream_buf_list {
pub head: *mut ustream_buf,
pub data_tail: *mut ustream_buf,
pub tail: *mut ustream_buf,
pub alloc: Option<unsafe extern "C" fn(s: *mut ustream, l: *mut ustream_buf_list) -> c_int>,
pub data_bytes: c_int,
pub min_buffers: c_int,
pub max_buffers: c_int,
pub buffer_len: c_int,
pub buffers: c_int,
}Fields§
§head: *mut ustream_buf§data_tail: *mut ustream_buf§tail: *mut ustream_buf§alloc: Option<unsafe extern "C" fn(s: *mut ustream, l: *mut ustream_buf_list) -> c_int>§data_bytes: c_int§min_buffers: c_int§max_buffers: c_int§buffer_len: c_int§buffers: c_intTrait Implementations§
Source§impl Clone for ustream_buf_list
impl Clone for ustream_buf_list
Source§fn clone(&self) -> ustream_buf_list
fn clone(&self) -> ustream_buf_list
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ustream_buf_list
impl Debug for ustream_buf_list
Source§impl Default for ustream_buf_list
impl Default for ustream_buf_list
impl Copy for ustream_buf_list
Auto Trait Implementations§
impl Freeze for ustream_buf_list
impl RefUnwindSafe for ustream_buf_list
impl !Send for ustream_buf_list
impl !Sync for ustream_buf_list
impl Unpin for ustream_buf_list
impl UnsafeUnpin for ustream_buf_list
impl UnwindSafe for ustream_buf_list
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