pub struct VarDecl {
pub name: Name,
pub ty: Option<Type>,
pub value: Option<Expr>,
pub was: Option<(Name, Option<Type>)>,
}Fields§
§name: Name§ty: Option<Type>§value: Option<Expr>§was: Option<(Name, Option<Type>)>was power: Int: what an old save calls it.
Trait Implementations§
impl StructuralPartialEq for VarDecl
Auto Trait Implementations§
impl Freeze for VarDecl
impl RefUnwindSafe for VarDecl
impl Send for VarDecl
impl Sync for VarDecl
impl Unpin for VarDecl
impl UnsafeUnpin for VarDecl
impl UnwindSafe for VarDecl
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