#[repr(C)]pub struct Protocol {
pub reset: ProtocolReset,
pub read_key_stroke_ex: ProtocolReadKeyStrokeEx,
pub wait_for_key_ex: Event,
pub set_state: ProtocolSetState,
pub register_key_notify: ProtocolRegisterKeyNotify,
pub unregister_key_notify: ProtocolUnregisterKeyNotify,
}
Fields§
§reset: ProtocolReset
§read_key_stroke_ex: ProtocolReadKeyStrokeEx
§wait_for_key_ex: Event
§set_state: ProtocolSetState
§register_key_notify: ProtocolRegisterKeyNotify
§unregister_key_notify: ProtocolUnregisterKeyNotify
Auto Trait Implementations§
impl Freeze for Protocol
impl RefUnwindSafe for Protocol
impl !Send for Protocol
impl !Sync for Protocol
impl Unpin for Protocol
impl UnwindSafe for Protocol
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