#[repr(C)]pub struct nettle_buffer {
pub contents: *mut u8,
pub alloc: usize,
pub realloc_ctx: *mut c_void,
pub realloc: nettle_realloc_func,
pub size: usize,
}
Fields§
§contents: *mut u8
§alloc: usize
§realloc_ctx: *mut c_void
§realloc: nettle_realloc_func
§size: usize
Trait Implementations§
Source§impl Clone for nettle_buffer
impl Clone for nettle_buffer
Source§fn clone(&self) -> nettle_buffer
fn clone(&self) -> nettle_buffer
Returns a copy 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 nettle_buffer
impl Debug for nettle_buffer
impl Copy for nettle_buffer
Auto Trait Implementations§
impl Freeze for nettle_buffer
impl RefUnwindSafe for nettle_buffer
impl !Send for nettle_buffer
impl !Sync for nettle_buffer
impl Unpin for nettle_buffer
impl UnwindSafe for nettle_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