#[repr(C)]pub union pb_callback_s__bindgen_ty_1 {
pub decode: Option<unsafe extern "C" fn(stream: *mut pb_istream_t, field: *const pb_field_t, arg: *mut *mut c_void) -> bool>,
pub encode: Option<unsafe extern "C" fn(stream: *mut pb_ostream_t, field: *const pb_field_t, arg: *const *mut c_void) -> bool>,
}Fields§
§decode: Option<unsafe extern "C" fn(stream: *mut pb_istream_t, field: *const pb_field_t, arg: *mut *mut c_void) -> bool>§encode: Option<unsafe extern "C" fn(stream: *mut pb_ostream_t, field: *const pb_field_t, arg: *const *mut c_void) -> bool>Trait Implementations§
Source§impl Clone for pb_callback_s__bindgen_ty_1
impl Clone for pb_callback_s__bindgen_ty_1
Source§fn clone(&self) -> pb_callback_s__bindgen_ty_1
fn clone(&self) -> pb_callback_s__bindgen_ty_1
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 moreimpl Copy for pb_callback_s__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for pb_callback_s__bindgen_ty_1
impl RefUnwindSafe for pb_callback_s__bindgen_ty_1
impl Send for pb_callback_s__bindgen_ty_1
impl Sync for pb_callback_s__bindgen_ty_1
impl Unpin for pb_callback_s__bindgen_ty_1
impl UnwindSafe for pb_callback_s__bindgen_ty_1
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