#[repr(C)]pub struct switch_buffer { /* private fields */ }Expand description
@defgroup switch_buffer Buffer Routines @ingroup core1 The purpose of this module is to make a plain buffering interface that can be used for read/write buffers throughout the application. The first implementation was done to provide the functionality and the interface and I think it can be optimized under the hood as we go using bucket brigades and/or ring buffering techniques. @{
Trait Implementations§
Source§impl Clone for switch_buffer
impl Clone for switch_buffer
Source§fn clone(&self) -> switch_buffer
fn clone(&self) -> switch_buffer
Returns a duplicate 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 switch_buffer
impl Debug for switch_buffer
impl Copy for switch_buffer
Auto Trait Implementations§
impl Freeze for switch_buffer
impl RefUnwindSafe for switch_buffer
impl Send for switch_buffer
impl Sync for switch_buffer
impl Unpin for switch_buffer
impl UnwindSafe for switch_buffer
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