pub struct LineRef {
pub line_number: usize,
pub file_name: String,
}
Expand description
A struct representing a line in a stack trace
Fields§
§line_number: usize
The line number
file_name: String
The file name
Implementations§
Trait Implementations§
source§impl From<JavacDiagnostic> for LineRef
impl From<JavacDiagnostic> for LineRef
source§fn from(val: JavacDiagnostic) -> Self
fn from(val: JavacDiagnostic) -> Self
Converts a JavacDiagnostic to a LineRef
source§impl From<MutationDiagnostic> for LineRef
impl From<MutationDiagnostic> for LineRef
source§fn from(val: MutationDiagnostic) -> Self
fn from(val: MutationDiagnostic) -> Self
Converts a MutationDiagnostic to a LineRef
source§impl PartialEq for LineRef
impl PartialEq for LineRef
impl Eq for LineRef
impl StructuralEq for LineRef
impl StructuralPartialEq for LineRef
Auto Trait Implementations§
impl RefUnwindSafe for LineRef
impl Send for LineRef
impl Sync for LineRef
impl Unpin for LineRef
impl UnwindSafe for LineRef
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.