Struct flipper0::ffi::ProtocolDecoder
source · pub struct ProtocolDecoder {
pub start: Option<unsafe extern "C" fn(*mut c_void)>,
pub feed: Option<unsafe extern "C" fn(*mut c_void, bool, u32) -> bool>,
}
Fields
start: Option<unsafe extern "C" fn(*mut c_void)>
feed: Option<unsafe extern "C" fn(*mut c_void, bool, u32) -> bool>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ProtocolDecoder
impl Send for ProtocolDecoder
impl Sync for ProtocolDecoder
impl Unpin for ProtocolDecoder
impl UnwindSafe for ProtocolDecoder
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