pub struct Problem {
pub file: String,
pub pos: Pos,
pub message: String,
}Expand description
Something wrong with a design, at a place in one of its files.
Fields§
§file: StringThe design file it is in, by its path.
pos: PosWhere in the file: its line and column.
message: StringWhat is wrong, for a reader.
Trait Implementations§
impl StructuralPartialEq for Problem
Auto Trait Implementations§
impl Forget for Problem
impl Freeze for Problem
impl Move for Problem
impl RefUnwindSafe for Problem
impl Send for Problemwhere
RawVecInner: Send,
impl Sync for Problemwhere
RawVecInner: Sync,
impl Unpin for Problem
impl UnsafeUnpin for Problem
impl UnwindSafe for Problemwhere
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