Struct panda_sys::ProtobufCService
source · #[repr(C)]pub struct ProtobufCService {
pub descriptor: *const ProtobufCServiceDescriptor,
pub invoke: Option<unsafe extern "C" fn(service: *mut ProtobufCService, method_index: c_uint, input: *const ProtobufCMessage, closure: ProtobufCClosure, closure_data: *mut c_void)>,
pub destroy: Option<unsafe extern "C" fn(service: *mut ProtobufCService)>,
}
Fields§
§descriptor: *const ProtobufCServiceDescriptor
§invoke: Option<unsafe extern "C" fn(service: *mut ProtobufCService, method_index: c_uint, input: *const ProtobufCMessage, closure: ProtobufCClosure, closure_data: *mut c_void)>
§destroy: Option<unsafe extern "C" fn(service: *mut ProtobufCService)>
Trait Implementations§
source§impl Clone for ProtobufCService
impl Clone for ProtobufCService
source§fn clone(&self) -> ProtobufCService
fn clone(&self) -> ProtobufCService
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 ProtobufCService
impl Debug for ProtobufCService
impl Copy for ProtobufCService
Auto Trait Implementations§
impl RefUnwindSafe for ProtobufCService
impl !Send for ProtobufCService
impl !Sync for ProtobufCService
impl Unpin for ProtobufCService
impl UnwindSafe for ProtobufCService
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