pub struct Located {
pub line: usize,
pub stmt: Stmt,
}Expand description
带源码行号的语句包装(行号为语句首 token 所在行,供调试器断点定位)
Fields§
§line: usize§stmt: StmtTrait Implementations§
Auto Trait Implementations§
impl Forget for Located
impl Freeze for Located
impl Move for Located
impl RefUnwindSafe for Located
impl Send for Located
impl Sync for Located
impl Unpin for Located
impl UnsafeUnpin for Located
impl UnwindSafe for Located
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