pub struct LaneLawFile {
pub label: String,
pub theorem: String,
pub module: String,
pub content: String,
}Expand description
One emitted lane law: a single hashed Lean module hosting the
universal twin theorem, exposed as its own non-default lean_lib.
Fields§
§label: Stringfn.law label for surfacing (dispatchNumberOrErr.fromIntRoundtrip).
theorem: StringTwin theorem name (<fn>_law_<law>_universal).
module: StringModule = file stem = lib name, content-hashed so a stale
.olean under an old name is unreachable.
content: StringFull .lean source. Contains NO sorry token.
Auto Trait Implementations§
impl Freeze for LaneLawFile
impl RefUnwindSafe for LaneLawFile
impl Send for LaneLawFile
impl Sync for LaneLawFile
impl Unpin for LaneLawFile
impl UnsafeUnpin for LaneLawFile
impl UnwindSafe for LaneLawFile
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