pub struct ActionContext<'a> {
pub tick: &'a ClockTick,
}Expand description
Context provided to an Algorithm during processing.
Fields§
§tick: &'a ClockTickCurrent clock tick providing sample-accurate timing.
Implementations§
Source§impl<'a> ActionContext<'a>
impl<'a> ActionContext<'a>
Sourcepub fn new(tick: &'a ClockTick) -> ActionContext<'a>
pub fn new(tick: &'a ClockTick) -> ActionContext<'a>
Create a new action context from a clock tick reference.
Auto Trait Implementations§
impl<'a> Freeze for ActionContext<'a>
impl<'a> RefUnwindSafe for ActionContext<'a>
impl<'a> Send for ActionContext<'a>
impl<'a> Sync for ActionContext<'a>
impl<'a> Unpin for ActionContext<'a>
impl<'a> UnsafeUnpin for ActionContext<'a>
impl<'a> UnwindSafe for ActionContext<'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