pub struct RcCommandStateCtx<'a> {
pub now_ms: u32,
pub fresh_rc: Option<RcPacket>,
pub rc: &'a mut Rc,
pub command: &'a mut CommandManager,
pub state: &'a mut StateManager,
pub params: &'a mut Params,
pub param_events: Option<&'a mut ParamEventQueues>,
}Fields§
§now_ms: u32§fresh_rc: Option<RcPacket>A newly ingested RC sample for this system pass. The long-lived RC resource retains interpreted stick/switch state; cached sensor state is never replayed as a fresh command.
rc: &'a mut Rc§command: &'a mut CommandManager§state: &'a mut StateManager§params: &'a mut Params§param_events: Option<&'a mut ParamEventQueues>Auto Trait Implementations§
impl<'a> Freeze for RcCommandStateCtx<'a>
impl<'a> RefUnwindSafe for RcCommandStateCtx<'a>
impl<'a> Send for RcCommandStateCtx<'a>
impl<'a> Sync for RcCommandStateCtx<'a>
impl<'a> Unpin for RcCommandStateCtx<'a>
impl<'a> UnsafeUnpin for RcCommandStateCtx<'a>
impl<'a> !UnwindSafe for RcCommandStateCtx<'a>
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
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.