pub enum TrajectoryMatch {
Exact,
Unordered,
Subset,
}Expand description
How assert_trajectory relates the expected names to the actual sequence.
Variants§
Exact
Exactly this sequence, in order.
Unordered
The same multiset of names, any order.
Subset
These names appear in order (an in-order subsequence).
Trait Implementations§
Source§impl Clone for TrajectoryMatch
impl Clone for TrajectoryMatch
Source§fn clone(&self) -> TrajectoryMatch
fn clone(&self) -> TrajectoryMatch
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 moreimpl Copy for TrajectoryMatch
Auto Trait Implementations§
impl Freeze for TrajectoryMatch
impl RefUnwindSafe for TrajectoryMatch
impl Send for TrajectoryMatch
impl Sync for TrajectoryMatch
impl Unpin for TrajectoryMatch
impl UnsafeUnpin for TrajectoryMatch
impl UnwindSafe for TrajectoryMatch
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