pub struct LcnfModule {
pub fun_decls: Vec<LcnfFunDecl>,
pub extern_decls: Vec<LcnfExternDecl>,
pub name: String,
pub metadata: LcnfModuleMetadata,
}Expand description
An LCNF module — a collection of declarations.
Fields§
§fun_decls: Vec<LcnfFunDecl>Top-level function declarations.
extern_decls: Vec<LcnfExternDecl>External declarations (axioms, opaques).
name: StringName of the module.
metadata: LcnfModuleMetadataMetadata about the conversion.
Trait Implementations§
Source§impl Clone for LcnfModule
impl Clone for LcnfModule
Source§fn clone(&self) -> LcnfModule
fn clone(&self) -> LcnfModule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LcnfModule
impl Debug for LcnfModule
Source§impl Default for LcnfModule
impl Default for LcnfModule
Source§fn default() -> LcnfModule
fn default() -> LcnfModule
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LcnfModule
impl RefUnwindSafe for LcnfModule
impl Send for LcnfModule
impl Sync for LcnfModule
impl Unpin for LcnfModule
impl UnsafeUnpin for LcnfModule
impl UnwindSafe for LcnfModule
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