#[repr(C)]pub struct ProtobufCBufferSimple {
pub base: ProtobufCBuffer,
pub alloced: u64,
pub len: u64,
pub data: *mut u8,
pub must_free_data: i32,
pub allocator: *mut ProtobufCAllocator,
}Fields§
§base: ProtobufCBuffer§alloced: u64§len: u64§data: *mut u8§must_free_data: i32§allocator: *mut ProtobufCAllocatorTrait Implementations§
Source§impl Clone for ProtobufCBufferSimple
impl Clone for ProtobufCBufferSimple
Source§fn clone(&self) -> ProtobufCBufferSimple
fn clone(&self) -> ProtobufCBufferSimple
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProtobufCBufferSimple
Auto Trait Implementations§
impl !Send for ProtobufCBufferSimple
impl !Sync for ProtobufCBufferSimple
impl Freeze for ProtobufCBufferSimple
impl RefUnwindSafe for ProtobufCBufferSimple
impl Unpin for ProtobufCBufferSimple
impl UnsafeUnpin for ProtobufCBufferSimple
impl UnwindSafe for ProtobufCBufferSimple
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