#[repr(C)]pub struct ProtobufCEnumDescriptor {Show 15 fields
pub magic: u32,
pub name: *const i8,
pub short_name: *const i8,
pub c_name: *const i8,
pub package_name: *const i8,
pub n_values: u32,
pub values: *const ProtobufCEnumValue,
pub n_value_names: u32,
pub values_by_name: *const ProtobufCEnumValueIndex,
pub n_value_ranges: u32,
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 i8§short_name: *const i8§c_name: *const i8§package_name: *const i8§n_values: u32§values: *const ProtobufCEnumValue§n_value_names: u32§values_by_name: *const ProtobufCEnumValueIndex§n_value_ranges: u32§value_ranges: *const ProtobufCIntRange§reserved1: *mut c_void§reserved2: *mut c_void§reserved3: *mut c_void§reserved4: *mut c_voidTrait Implementations§
Source§impl Clone for ProtobufCEnumDescriptor
impl Clone for ProtobufCEnumDescriptor
Source§fn clone(&self) -> ProtobufCEnumDescriptor
fn clone(&self) -> ProtobufCEnumDescriptor
Returns a duplicate 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 Freeze for ProtobufCEnumDescriptor
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