#[repr(C)]pub struct ProtocolBase {Show 14 fields
pub data_size: usize,
pub name: *const c_char,
pub manufacturer: *const c_char,
pub features: u32,
pub validate_count: u8,
pub alloc: ProtocolAlloc,
pub free: ProtocolFree,
pub get_data: ProtocolGetData,
pub decoder: ProtocolDecoder,
pub encoder: ProtocolEncoder,
pub render_uid: ProtocolRenderData,
pub render_data: ProtocolRenderData,
pub render_brief_data: ProtocolRenderData,
pub write_data: ProtocolWriteData,
}
Fields§
§data_size: usize
§name: *const c_char
§manufacturer: *const c_char
§features: u32
§validate_count: u8
§alloc: ProtocolAlloc
§free: ProtocolFree
§get_data: ProtocolGetData
§decoder: ProtocolDecoder
§encoder: ProtocolEncoder
§render_uid: ProtocolRenderData
§render_data: ProtocolRenderData
§render_brief_data: ProtocolRenderData
§write_data: ProtocolWriteData
Trait Implementations§
Source§impl Clone for ProtocolBase
impl Clone for ProtocolBase
Source§fn clone(&self) -> ProtocolBase
fn clone(&self) -> ProtocolBase
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 ProtocolBase
impl Debug for ProtocolBase
impl Copy for ProtocolBase
Auto Trait Implementations§
impl Freeze for ProtocolBase
impl RefUnwindSafe for ProtocolBase
impl !Send for ProtocolBase
impl !Sync for ProtocolBase
impl Unpin for ProtocolBase
impl UnwindSafe for ProtocolBase
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