#[repr(C)]pub struct ProtobufCServiceDescriptor {
pub magic: u32,
pub name: *const i8,
pub short_name: *const i8,
pub c_name: *const i8,
pub package: *const i8,
pub n_methods: u32,
pub methods: *const ProtobufCMethodDescriptor,
pub method_indices_by_name: *const u32,
}Fields§
§magic: u32§name: *const i8§short_name: *const i8§c_name: *const i8§package: *const i8§n_methods: u32§methods: *const ProtobufCMethodDescriptor§method_indices_by_name: *const u32Trait Implementations§
Source§impl Clone for ProtobufCServiceDescriptor
impl Clone for ProtobufCServiceDescriptor
Source§fn clone(&self) -> ProtobufCServiceDescriptor
fn clone(&self) -> ProtobufCServiceDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProtobufCServiceDescriptor
Auto Trait Implementations§
impl !Send for ProtobufCServiceDescriptor
impl !Sync for ProtobufCServiceDescriptor
impl Freeze for ProtobufCServiceDescriptor
impl RefUnwindSafe for ProtobufCServiceDescriptor
impl Unpin for ProtobufCServiceDescriptor
impl UnsafeUnpin for ProtobufCServiceDescriptor
impl UnwindSafe for ProtobufCServiceDescriptor
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