#[repr(C)]pub struct svn_stringbuf_t {
pub pool: *mut apr_pool_t,
pub data: *mut c_char,
pub len: apr_size_t,
pub blocksize: apr_size_t,
}Expand description
A buffered string, capable of appending without an allocation and copy for each append.
Fields§
§pool: *mut apr_pool_ta pool from which this string was originally allocated, and is not necessarily specific to this string. This is used only for allocating more memory from when the string needs to grow.
data: *mut c_charpointer to the bytestring
len: apr_size_tlength of bytestring
blocksize: apr_size_ttotal size of buffer allocated
Trait Implementations§
Auto Trait Implementations§
impl Freeze for svn_stringbuf_t
impl RefUnwindSafe for svn_stringbuf_t
impl !Send for svn_stringbuf_t
impl !Sync for svn_stringbuf_t
impl Unpin for svn_stringbuf_t
impl UnwindSafe for svn_stringbuf_t
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