pub struct FunctionSpan {
pub name: String,
pub start_line: usize,
pub end_line: usize,
pub error: bool,
}
Expand description
Function span data.
Fields§
§name: String
The function name
start_line: usize
The first line of a function
end_line: usize
The last line of a function
error: bool
If true
, an error is occurred in determining the span
of a function
Trait Implementations§
Source§impl Debug for FunctionSpan
impl Debug for FunctionSpan
Auto Trait Implementations§
impl Freeze for FunctionSpan
impl RefUnwindSafe for FunctionSpan
impl Send for FunctionSpan
impl Sync for FunctionSpan
impl Unpin for FunctionSpan
impl UnwindSafe for FunctionSpan
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