#[repr(C)]pub struct _TidyBuffer {
pub allocator: *mut TidyAllocator,
pub bp: *mut byte,
pub size: uint,
pub allocated: uint,
pub next: uint,
}
Expand description
@name Forward declarations and typedefs. @{
Fields§
§allocator: *mut TidyAllocator
< Memory allocator
bp: *mut byte
< Pointer to bytes
size: uint
< Number of bytes currently in use
allocated: uint
< Number of bytes allocated
next: uint
< Offset of current input position
Trait Implementations§
Source§impl Clone for _TidyBuffer
impl Clone for _TidyBuffer
Source§fn clone(&self) -> _TidyBuffer
fn clone(&self) -> _TidyBuffer
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 _TidyBuffer
impl Debug for _TidyBuffer
impl Copy for _TidyBuffer
Auto Trait Implementations§
impl Freeze for _TidyBuffer
impl RefUnwindSafe for _TidyBuffer
impl !Send for _TidyBuffer
impl !Sync for _TidyBuffer
impl Unpin for _TidyBuffer
impl UnwindSafe for _TidyBuffer
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