pub struct NodeInteraction {
pub control: ControlState,
pub result: ResourceState,
}Expand description
Interaction data sampled for a retained node in one frame.
Fields§
§control: ControlStateControl state observed while handling the node this frame.
result: ResourceStateResource state returned by the node this frame.
Implementations§
Source§impl NodeInteraction
impl NodeInteraction
Sourcepub const fn new(control: ControlState, result: ResourceState) -> Self
pub const fn new(control: ControlState, result: ResourceState) -> Self
Creates an interaction snapshot for one node.
Trait Implementations§
Source§impl Clone for NodeInteraction
impl Clone for NodeInteraction
Source§fn clone(&self) -> NodeInteraction
fn clone(&self) -> NodeInteraction
Returns a duplicate of the value. Read more
1.0.0 · 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 NodeInteraction
impl Debug for NodeInteraction
Source§impl Default for NodeInteraction
impl Default for NodeInteraction
impl Copy for NodeInteraction
Auto Trait Implementations§
impl Freeze for NodeInteraction
impl RefUnwindSafe for NodeInteraction
impl Send for NodeInteraction
impl Sync for NodeInteraction
impl Unpin for NodeInteraction
impl UnsafeUnpin for NodeInteraction
impl UnwindSafe for NodeInteraction
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