pub struct LeanFile {
pub path: String,
pub content: String,
}Expand description
A generated Lean 4 file.
Fields§
§path: StringRelative path within the Lean project (e.g. ProvableContracts/Defs/Softmax.lean).
content: StringLean 4 source content.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LeanFile
impl RefUnwindSafe for LeanFile
impl Send for LeanFile
impl Sync for LeanFile
impl Unpin for LeanFile
impl UnsafeUnpin for LeanFile
impl UnwindSafe for LeanFile
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