#[repr(C)]pub struct pb_msgdesc_s {
pub field_info: *const u32,
pub submsg_info: *const *const pb_msgdesc_t,
pub default_value: *const pb_byte_t,
pub field_callback: Option<unsafe extern "C" fn(istream: *mut pb_istream_t, ostream: *mut pb_ostream_t, field: *const pb_field_iter_t) -> bool>,
pub field_count: pb_size_t,
pub required_field_count: pb_size_t,
pub largest_tag: pb_size_t,
}Fields§
§field_info: *const u32§submsg_info: *const *const pb_msgdesc_t§default_value: *const pb_byte_t§field_callback: Option<unsafe extern "C" fn(istream: *mut pb_istream_t, ostream: *mut pb_ostream_t, field: *const pb_field_iter_t) -> bool>§field_count: pb_size_t§required_field_count: pb_size_t§largest_tag: pb_size_tTrait Implementations§
Source§impl Clone for pb_msgdesc_s
impl Clone for pb_msgdesc_s
Source§fn clone(&self) -> pb_msgdesc_s
fn clone(&self) -> pb_msgdesc_s
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 pb_msgdesc_s
impl Debug for pb_msgdesc_s
impl Copy for pb_msgdesc_s
Auto Trait Implementations§
impl Freeze for pb_msgdesc_s
impl RefUnwindSafe for pb_msgdesc_s
impl !Send for pb_msgdesc_s
impl !Sync for pb_msgdesc_s
impl Unpin for pb_msgdesc_s
impl UnwindSafe for pb_msgdesc_s
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