pub struct StateDef {
pub name: String,
pub ty: Type,
pub init: Expr,
}Fields§
§name: String§ty: Type§init: ExprTrait Implementations§
Auto Trait Implementations§
impl !Send for StateDef
impl !Sync for StateDef
impl Freeze for StateDef
impl RefUnwindSafe for StateDef
impl Unpin for StateDef
impl UnsafeUnpin for StateDef
impl UnwindSafe for StateDef
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