pub struct StateDecl {
pub name: String,
pub ty: Type,
pub initial: Expr,
pub weak: bool,
pub span: Span,
}Fields§
§name: String§ty: Type§initial: Expr§weak: bool§span: SpanTrait Implementations§
Auto Trait Implementations§
impl Freeze for StateDecl
impl RefUnwindSafe for StateDecl
impl Send for StateDecl
impl Sync for StateDecl
impl Unpin for StateDecl
impl UnwindSafe for StateDecl
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