pub struct RecordedDispatch {
pub node_id: NodeId,
pub inputs: Vec<(ResourceId, ResourceHandle)>,
pub outputs: Vec<(ResourceId, ResourceHandle)>,
}Expand description
One entry in a recording dispatcher’s tape. Captures everything a test might want to assert about a dispatch.
Fields§
§node_id: NodeId§inputs: Vec<(ResourceId, ResourceHandle)>§outputs: Vec<(ResourceId, ResourceHandle)>Trait Implementations§
Source§impl Clone for RecordedDispatch
impl Clone for RecordedDispatch
Source§fn clone(&self) -> RecordedDispatch
fn clone(&self) -> RecordedDispatch
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 RecordedDispatch
impl Debug for RecordedDispatch
impl Eq for RecordedDispatch
Source§impl PartialEq for RecordedDispatch
impl PartialEq for RecordedDispatch
Source§fn eq(&self, other: &RecordedDispatch) -> bool
fn eq(&self, other: &RecordedDispatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecordedDispatch
Auto Trait Implementations§
impl Freeze for RecordedDispatch
impl RefUnwindSafe for RecordedDispatch
impl Send for RecordedDispatch
impl Sync for RecordedDispatch
impl Unpin for RecordedDispatch
impl UnsafeUnpin for RecordedDispatch
impl UnwindSafe for RecordedDispatch
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