pub struct Stmt {
pub kind: StmtKind,
pub line: u32,
pub column: Option<NonZeroU32>,
}Fields§
§kind: StmtKind§line: u32§column: Option<NonZeroU32>1-indexed column where this statement starts. See
Expr::column — same niche-packed shape, same
purpose (carat rendering on runtime errors).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stmt
impl RefUnwindSafe for Stmt
impl Send for Stmt
impl Sync for Stmt
impl Unpin for Stmt
impl UnsafeUnpin for Stmt
impl UnwindSafe for Stmt
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