pub struct ArmController { /* private fields */ }Expand description
A ControlProgram resolved against its element, held by the arm that owns
that element. The runner builds one per controlled node at startup and
applys it before each DataFrame.
Implementations§
Source§impl ArmController
impl ArmController
Sourcepub fn apply<T: ControlTarget + ?Sized>(
&self,
target: &mut T,
pts_ns: u64,
) -> Result<(), ControlFault>
pub fn apply<T: ControlTarget + ?Sized>( &self, target: &mut T, pts_ns: u64, ) -> Result<(), ControlFault>
Sample every binding at pts_ns and set it on target. An element that
rejects a sampled value fails the run loud: a curve that walks a property
out of its accepted range is a broken program, not something to swallow.
Trait Implementations§
Source§impl Clone for ArmController
impl Clone for ArmController
Source§fn clone(&self) -> ArmController
fn clone(&self) -> ArmController
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 ArmController
impl Debug for ArmController
Source§impl PartialEq for ArmController
impl PartialEq for ArmController
impl StructuralPartialEq for ArmController
Auto Trait Implementations§
impl Freeze for ArmController
impl RefUnwindSafe for ArmController
impl Send for ArmController
impl Sync for ArmController
impl Unpin for ArmController
impl UnsafeUnpin for ArmController
impl UnwindSafe for ArmController
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