pub struct OpaqueModel {
pub rust: String,
pub lean: Vec<String>,
pub key: String,
pub out_file: PathBuf,
}Expand description
The Lean model of a #[leanfran::opaque] function, written in lean/External.lean.
Fields§
§rust: StringThe unit name of the Rust function.
lean: Vec<String>The candidate Lean names of the model (relative to the root and to the crate).
key: StringThe cache key of its generated Rust.
out_file: PathBufThe path of the generated Rust below OUT_DIR.
Trait Implementations§
Source§impl Clone for OpaqueModel
impl Clone for OpaqueModel
Auto Trait Implementations§
impl Forget for OpaqueModel
impl Freeze for OpaqueModel
impl Move for OpaqueModel
impl RefUnwindSafe for OpaqueModel
impl Send for OpaqueModel
impl Sync for OpaqueModel
impl Unpin for OpaqueModel
impl UnsafeUnpin for OpaqueModel
impl UnwindSafe for OpaqueModel
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