pub struct AgdaData {
pub name: String,
pub params: Vec<(String, AgdaExpr)>,
pub indices: AgdaExpr,
pub constructors: Vec<AgdaConstructor>,
}Expand description
Top-level data declaration.
Fields§
§name: StringType name
params: Vec<(String, AgdaExpr)>Parameters (bound variables with types): (A : Set)
indices: AgdaExprIndices / kind annotation: the : Set after parameters
constructors: Vec<AgdaConstructor>Constructors
Trait Implementations§
impl StructuralPartialEq for AgdaData
Auto Trait Implementations§
impl Freeze for AgdaData
impl RefUnwindSafe for AgdaData
impl Send for AgdaData
impl Sync for AgdaData
impl Unpin for AgdaData
impl UnsafeUnpin for AgdaData
impl UnwindSafe for AgdaData
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