pub struct Field {
pub ty: Type,
pub name: Name,
pub bound: Option<Expr>,
pub value: Option<Expr>,
pub was: Option<(Name, Option<Type>)>,
}Expand description
saved synced Energy Energy in 0..capacity = 0 was Power: i32;.
Fields§
§ty: Type§name: Name§bound: Option<Expr>§value: Option<Expr>§was: Option<(Name, Option<Type>)>What an old save calls it.
Trait Implementations§
impl StructuralPartialEq for Field
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnsafeUnpin for Field
impl UnwindSafe for Field
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