pub struct Line<'issue> {
pub class: RefusalClass,
pub first: &'issue str,
pub body: LineBody,
}Expand description
The typed parts one compiler line is composed from.
They travel as one value because they are one line: a class handed to composed beside another refusal’s first established issue composes a sentence that is well formed, complete-looking, and about nothing in particular.
Fields§
§class: RefusalClassWhich class of refusal the line is about.
first: &'issue strThe first established issue, stated in full.
body: LineBodyWhat the line is a summary of.
Trait Implementations§
impl<'issue> Copy for Line<'issue>
impl<'issue> Eq for Line<'issue>
impl<'issue> StructuralPartialEq for Line<'issue>
Auto Trait Implementations§
impl<'issue> Freeze for Line<'issue>
impl<'issue> RefUnwindSafe for Line<'issue>
impl<'issue> Send for Line<'issue>
impl<'issue> Sync for Line<'issue>
impl<'issue> Unpin for Line<'issue>
impl<'issue> UnsafeUnpin for Line<'issue>
impl<'issue> UnwindSafe for Line<'issue>
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