pub struct CodedLists {
pub next: Option<Box<CodedLists>>,
pub buf: *mut u8,
pub buf_size: usize,
pub avail: bool,
}Expand description
A node in a singly-linked list of coded data buffers — port of
coded_lists.
Fields§
§next: Option<Box<CodedLists>>Pointer to the next node, or None if this is the tail.
buf: *mut u8Pointer to the start of the coded data in this node.
buf_size: usizeNumber of valid coded bytes.
avail: boolTrue when the list is not ready for consumption.
Implementations§
Source§impl CodedLists
impl CodedLists
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CodedLists
impl RefUnwindSafe for CodedLists
impl !Send for CodedLists
impl !Sync for CodedLists
impl Unpin for CodedLists
impl UnsafeUnpin for CodedLists
impl UnwindSafe for CodedLists
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