pub struct ToController;Trait Implementations§
Source§impl Clone for ToController
impl Clone for ToController
Source§fn clone(&self) -> ToController
fn clone(&self) -> ToController
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ToController
impl Debug for ToController
Source§impl<UserData: Debug + Copy> Feature<UserData, Control, Event, ToController, ToWorker> for AliasFeature<UserData>
impl<UserData: Debug + Copy> Feature<UserData, Control, Event, ToController, ToWorker> for AliasFeature<UserData>
fn on_input( &mut self, _ctx: &FeatureContext, now_ms: u64, input: FeatureInput<'_, UserData, Control, ToController>, )
fn on_shutdown(&mut self, _ctx: &FeatureContext, _now: u64)
Source§impl<UserData> FeatureWorker<UserData, Control, Event, ToController, ToWorker> for AliasFeatureWorker<UserData>
impl<UserData> FeatureWorker<UserData, Control, Event, ToController, ToWorker> for AliasFeatureWorker<UserData>
fn on_input( &mut self, _ctx: &mut FeatureWorkerContext, _now: u64, input: FeatureWorkerInput<UserData, Control, ToWorker>, )
fn on_shutdown(&mut self, _ctx: &mut FeatureWorkerContext, _now: u64)
fn on_tick( &mut self, _ctx: &mut FeatureWorkerContext, _now: u64, _tick_count: u64, )
fn on_network_raw( &mut self, ctx: &mut FeatureWorkerContext, now: u64, conn: ConnId, _pair: NetPair, header: TransportMsgHeader, buf: Buffer, )
Source§impl From<ToController> for FeaturesToController
impl From<ToController> for FeaturesToController
Source§fn from(val: ToController) -> Self
fn from(val: ToController) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ToController
impl PartialEq for ToController
Source§fn eq(&self, other: &ToController) -> bool
fn eq(&self, other: &ToController) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ToController
impl StructuralPartialEq for ToController
Auto Trait Implementations§
impl Freeze for ToController
impl RefUnwindSafe for ToController
impl Send for ToController
impl Sync for ToController
impl Unpin for ToController
impl UnsafeUnpin for ToController
impl UnwindSafe for ToController
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