Struct flipperzero_sys::ProtocolBase
source · [−]#[repr(C)]pub struct ProtocolBase {Show 13 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_data: ProtocolRenderData,
pub render_brief_data: ProtocolRenderData,
pub write_data: ProtocolWriteData,
}Fields
data_size: usizename: *const c_charmanufacturer: *const c_charfeatures: u32validate_count: u8alloc: ProtocolAllocfree: ProtocolFreeget_data: ProtocolGetDatadecoder: ProtocolDecoderencoder: ProtocolEncoderrender_data: ProtocolRenderDatarender_brief_data: ProtocolRenderDatawrite_data: ProtocolWriteDataTrait Implementations
sourceimpl Clone for ProtocolBase
impl Clone for ProtocolBase
sourcefn clone(&self) -> ProtocolBase
fn clone(&self) -> ProtocolBase
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ProtocolBase
impl Debug for ProtocolBase
impl Copy for ProtocolBase
Auto Trait Implementations
impl RefUnwindSafe for ProtocolBase
impl !Send for ProtocolBase
impl !Sync for ProtocolBase
impl Unpin for ProtocolBase
impl UnwindSafe for ProtocolBase
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more