Struct panda_sys::ProtobufCEnumDescriptor
source · #[repr(C)]pub struct ProtobufCEnumDescriptor {Show 15 fields
pub magic: u32,
pub name: *const c_char,
pub short_name: *const c_char,
pub c_name: *const c_char,
pub package_name: *const c_char,
pub n_values: c_uint,
pub values: *const ProtobufCEnumValue,
pub n_value_names: c_uint,
pub values_by_name: *const ProtobufCEnumValueIndex,
pub n_value_ranges: c_uint,
pub value_ranges: *const ProtobufCIntRange,
pub reserved1: *mut c_void,
pub reserved2: *mut c_void,
pub reserved3: *mut c_void,
pub reserved4: *mut c_void,
}
Fields§
§magic: u32
§name: *const c_char
§short_name: *const c_char
§c_name: *const c_char
§package_name: *const c_char
§n_values: c_uint
§values: *const ProtobufCEnumValue
§n_value_names: c_uint
§values_by_name: *const ProtobufCEnumValueIndex
§n_value_ranges: c_uint
§value_ranges: *const ProtobufCIntRange
§reserved1: *mut c_void
§reserved2: *mut c_void
§reserved3: *mut c_void
§reserved4: *mut c_void
Trait Implementations§
source§impl Clone for ProtobufCEnumDescriptor
impl Clone for ProtobufCEnumDescriptor
source§fn clone(&self) -> ProtobufCEnumDescriptor
fn clone(&self) -> ProtobufCEnumDescriptor
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 ProtobufCEnumDescriptor
impl Debug for ProtobufCEnumDescriptor
impl Copy for ProtobufCEnumDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for ProtobufCEnumDescriptor
impl !Send for ProtobufCEnumDescriptor
impl !Sync for ProtobufCEnumDescriptor
impl Unpin for ProtobufCEnumDescriptor
impl UnwindSafe for ProtobufCEnumDescriptor
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