pub struct DefStructStmt {
pub name: String,
pub param_def_with_dom: Option<(ParamDefWithType, Vec<OrAndChainAtomicFact>)>,
pub fields: Vec<(String, Obj)>,
pub equivalent_facts: Vec<Fact>,
pub line_file: LineFile,
}Fields§
§name: String§param_def_with_dom: Option<(ParamDefWithType, Vec<OrAndChainAtomicFact>)>§fields: Vec<(String, Obj)>§equivalent_facts: Vec<Fact>§line_file: LineFileImplementations§
Source§impl DefStructStmt
impl DefStructStmt
Trait Implementations§
Source§impl Clone for DefStructStmt
impl Clone for DefStructStmt
Source§fn clone(&self) -> DefStructStmt
fn clone(&self) -> DefStructStmt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Display for DefStructStmt
impl Display for DefStructStmt
Source§impl From<DefStructStmt> for Stmt
impl From<DefStructStmt> for Stmt
Source§fn from(v: DefStructStmt) -> Self
fn from(v: DefStructStmt) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DefStructStmt
impl RefUnwindSafe for DefStructStmt
impl !Send for DefStructStmt
impl !Sync for DefStructStmt
impl Unpin for DefStructStmt
impl UnsafeUnpin for DefStructStmt
impl UnwindSafe for DefStructStmt
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