Struct pacmanconf::ErrorLine
source · pub struct ErrorLine {
pub number: usize,
pub line: String,
}
Expand description
Error Line holds a line of text and the line number the line is from.
Fields§
§number: usize
The line number that the error occurred at
line: String
The full line containing the error
Implementations§
Trait Implementations§
source§impl Ord for ErrorLine
impl Ord for ErrorLine
source§impl PartialEq for ErrorLine
impl PartialEq for ErrorLine
source§impl PartialOrd for ErrorLine
impl PartialOrd for ErrorLine
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ErrorLine
impl StructuralPartialEq for ErrorLine
Auto Trait Implementations§
impl RefUnwindSafe for ErrorLine
impl Send for ErrorLine
impl Sync for ErrorLine
impl Unpin for ErrorLine
impl UnwindSafe for ErrorLine
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