pub struct ErrorExpect {
pub code: String,
pub row: Option<usize>,
pub col: Option<usize>,
}Expand description
An error expectation, split into the parts a runner checks separately.
Fields§
§code: StringThe code, or "" for “any code” (a bare ERROR, or a cell that
pins only a position).
row: Option<usize>1-based source position the error must report, when the cell pins
one. Both None otherwise.
col: Option<usize>Trait Implementations§
Source§impl Clone for ErrorExpect
impl Clone for ErrorExpect
Source§impl Debug for ErrorExpect
impl Debug for ErrorExpect
impl Eq for ErrorExpect
Source§impl PartialEq for ErrorExpect
impl PartialEq for ErrorExpect
impl StructuralPartialEq for ErrorExpect
Auto Trait Implementations§
impl Forget for ErrorExpect
impl Freeze for ErrorExpect
impl Move for ErrorExpect
impl RefUnwindSafe for ErrorExpect
impl Send for ErrorExpectwhere
RawVecInner: Send,
impl Sync for ErrorExpectwhere
RawVecInner: Sync,
impl Unpin for ErrorExpect
impl UnsafeUnpin for ErrorExpect
impl UnwindSafe for ErrorExpectwhere
RawVecInner: UnwindSafe,
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