pub struct DefTemplateStmt {
pub template_name: String,
pub template_arg_def: ParamDefWithType,
pub template_arg_dom: Vec<OrAndChainAtomicFact>,
pub template_def_stmt: TemplateDefEnum,
pub line_file: LineFile,
}Fields§
§template_name: String§template_arg_def: ParamDefWithType§template_arg_dom: Vec<OrAndChainAtomicFact>§template_def_stmt: TemplateDefEnum§line_file: LineFileImplementations§
Source§impl DefTemplateStmt
impl DefTemplateStmt
pub fn new( template_name: String, template_arg_def: ParamDefWithType, template_arg_dom: Vec<OrAndChainAtomicFact>, template_def_stmt: TemplateDefEnum, line_file: LineFile, ) -> Self
Source§impl DefTemplateStmt
impl DefTemplateStmt
pub fn stmt_type_name(&self) -> String
Trait Implementations§
Source§impl Clone for DefTemplateStmt
impl Clone for DefTemplateStmt
Source§fn clone(&self) -> DefTemplateStmt
fn clone(&self) -> DefTemplateStmt
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 DefTemplateStmt
impl Display for DefTemplateStmt
Source§impl From<DefTemplateStmt> for Stmt
impl From<DefTemplateStmt> for Stmt
Source§fn from(v: DefTemplateStmt) -> Self
fn from(v: DefTemplateStmt) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DefTemplateStmt
impl RefUnwindSafe for DefTemplateStmt
impl !Send for DefTemplateStmt
impl !Sync for DefTemplateStmt
impl Unpin for DefTemplateStmt
impl UnsafeUnpin for DefTemplateStmt
impl UnwindSafe for DefTemplateStmt
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