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