pub struct IntentCx<'a, S: Spec> {
pub view: &'a VisualSnapshot<S>,
/* private fields */
}Expand description
Intent hook door: the published snapshot (read-only) plus commands.
Fields§
§view: &'a VisualSnapshot<S>The snapshot published at the end of this tick (already includes every change the intent reports).
Implementations§
Auto Trait Implementations§
impl<'a, S> !RefUnwindSafe for IntentCx<'a, S>
impl<'a, S> !UnwindSafe for IntentCx<'a, S>
impl<'a, S> Forget for IntentCx<'a, S>
impl<'a, S> Freeze for IntentCx<'a, S>
impl<'a, S> Move for IntentCx<'a, S>
impl<'a, S> Send for IntentCx<'a, S>
impl<'a, S> Sync for IntentCx<'a, S>
impl<'a, S> Unpin for IntentCx<'a, S>
impl<'a, S> UnsafeUnpin for IntentCx<'a, S>
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