pub struct CoqModule {
pub name: String,
pub requires: Vec<String>,
pub opens: Vec<String>,
pub declarations: Vec<CoqDecl>,
}Expand description
A complete Coq source file (.v).
Fields§
§name: StringTop-level module name (used as a comment / Module block if needed)
requires: Vec<String>Require Import directives emitted before declarations
opens: Vec<String>Open Scope directives emitted after requires
declarations: Vec<CoqDecl>Top-level declarations
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoqModule
impl RefUnwindSafe for CoqModule
impl Send for CoqModule
impl Sync for CoqModule
impl Unpin for CoqModule
impl UnsafeUnpin for CoqModule
impl UnwindSafe for CoqModule
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