pub struct PerformativeDef {
pub name: String,
pub params: Vec<SExpr>,
pub template: SExpr,
pub role: Option<RoleAnnotation>,
}Expand description
A performative definition within a dialect (REQ-021).
Fields§
§name: String§params: Vec<SExpr>§template: SExpr§role: Option<RoleAnnotation>:from/:to role annotation (SPEC-014 REQ-621, CON-600).
Trait Implementations§
Source§impl Clone for PerformativeDef
impl Clone for PerformativeDef
Source§impl Debug for PerformativeDef
impl Debug for PerformativeDef
impl Eq for PerformativeDef
Source§impl PartialEq for PerformativeDef
impl PartialEq for PerformativeDef
impl StructuralPartialEq for PerformativeDef
Auto Trait Implementations§
impl Forget for PerformativeDef
impl Freeze for PerformativeDefwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<SExpr>: Freeze,
*const LeafNode<String, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, SetValZST)>>: Freeze,
impl Move for PerformativeDef
impl RefUnwindSafe for PerformativeDef
impl Send for PerformativeDef
impl Sync for PerformativeDef
impl Unpin for PerformativeDef
impl UnsafeUnpin for PerformativeDefwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SExpr>: UnsafeUnpin,
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
impl UnwindSafe for PerformativeDef
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