pub struct Frame<'a> {
pub actions: Vec<Action<'a>>,
pub markers: Vec<Marker<'a>>,
}Expand description
Represents a frame within a testfile. Each frame identifies a number of actions which operate on the state at that point, along with zero or more expected markers (e.g. error messages). The set of actions includes inserting and removing lines on a specific file. Actions are applied in the order of appearance, though they are not expected to overlap.
Fields§
§actions: Vec<Action<'a>>§markers: Vec<Marker<'a>>Auto Trait Implementations§
impl<'a> Freeze for Frame<'a>
impl<'a> RefUnwindSafe for Frame<'a>
impl<'a> Send for Frame<'a>
impl<'a> Sync for Frame<'a>
impl<'a> Unpin for Frame<'a>
impl<'a> UnwindSafe for Frame<'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