pub struct OutputMatchContext<'s> { /* private fields */ }Implementations§
Source§impl<'s> OutputMatchContext<'s>
impl<'s> OutputMatchContext<'s>
pub fn new(script_context: &'s ScriptRunContext) -> Self
pub fn descend(&self) -> Self
pub fn ignore(&self) -> Self
pub fn trace(&self, line: &str)
pub fn traces(&self) -> Vec<String>
pub fn expect(&self, key: &str, value: String)
pub fn expects(&self) -> HashMap<String, String>
Trait Implementations§
Source§impl<'s> Clone for OutputMatchContext<'s>
impl<'s> Clone for OutputMatchContext<'s>
Source§fn clone(&self) -> OutputMatchContext<'s>
fn clone(&self) -> OutputMatchContext<'s>
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 moreAuto Trait Implementations§
impl<'s> Freeze for OutputMatchContext<'s>
impl<'s> RefUnwindSafe for OutputMatchContext<'s>
impl<'s> Send for OutputMatchContext<'s>
impl<'s> Sync for OutputMatchContext<'s>
impl<'s> Unpin for OutputMatchContext<'s>
impl<'s> UnsafeUnpin for OutputMatchContext<'s>
impl<'s> UnwindSafe for OutputMatchContext<'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