pub struct AstStateFieldDef {
pub name: String,
pub type_expr: AstTypeExpr,
pub default_value: Option<AstLiteralValue>,
pub span: Option<Span>,
}Fields§
§name: String§type_expr: AstTypeExpr§default_value: Option<AstLiteralValue>§span: Option<Span>Trait Implementations§
Source§impl Clone for AstStateFieldDef
impl Clone for AstStateFieldDef
Source§fn clone(&self) -> AstStateFieldDef
fn clone(&self) -> AstStateFieldDef
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 AstStateFieldDef
impl Debug for AstStateFieldDef
Source§impl PartialEq for AstStateFieldDef
impl PartialEq for AstStateFieldDef
impl StructuralPartialEq for AstStateFieldDef
Auto Trait Implementations§
impl Freeze for AstStateFieldDef
impl RefUnwindSafe for AstStateFieldDef
impl Send for AstStateFieldDef
impl Sync for AstStateFieldDef
impl Unpin for AstStateFieldDef
impl UnsafeUnpin for AstStateFieldDef
impl UnwindSafe for AstStateFieldDef
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