Struct panda_sys::ProtobufCBufferSimple
source · #[repr(C)]pub struct ProtobufCBufferSimple {
pub base: ProtobufCBuffer,
pub alloced: size_t,
pub len: size_t,
pub data: *mut u8,
pub must_free_data: protobuf_c_boolean,
pub allocator: *mut ProtobufCAllocator,
}
Fields§
§base: ProtobufCBuffer
§alloced: size_t
§len: size_t
§data: *mut u8
§must_free_data: protobuf_c_boolean
§allocator: *mut ProtobufCAllocator
Trait Implementations§
source§impl Clone for ProtobufCBufferSimple
impl Clone for ProtobufCBufferSimple
source§fn clone(&self) -> ProtobufCBufferSimple
fn clone(&self) -> ProtobufCBufferSimple
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 ProtobufCBufferSimple
impl Debug for ProtobufCBufferSimple
impl Copy for ProtobufCBufferSimple
Auto Trait Implementations§
impl RefUnwindSafe for ProtobufCBufferSimple
impl !Send for ProtobufCBufferSimple
impl !Sync for ProtobufCBufferSimple
impl Unpin 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