pub struct AstStateDecl {
pub name: String,
pub fields: Vec<AstStateFieldDef>,
pub is_terminal: bool,
pub span: Option<Span>,
}Fields§
§name: String§fields: Vec<AstStateFieldDef>§is_terminal: bool§span: Option<Span>Trait Implementations§
Source§impl Clone for AstStateDecl
impl Clone for AstStateDecl
Source§fn clone(&self) -> AstStateDecl
fn clone(&self) -> AstStateDecl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AstStateDecl
impl Debug for AstStateDecl
Source§impl PartialEq for AstStateDecl
impl PartialEq for AstStateDecl
impl StructuralPartialEq for AstStateDecl
Auto Trait Implementations§
impl Freeze for AstStateDecl
impl RefUnwindSafe for AstStateDecl
impl Send for AstStateDecl
impl Sync for AstStateDecl
impl Unpin for AstStateDecl
impl UnsafeUnpin for AstStateDecl
impl UnwindSafe for AstStateDecl
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