pub enum Origin {
Authored,
Helper {
of: String,
},
Synthesized,
Prelude,
}Expand description
Where a LOGOS declaration came from.
Variants§
Authored
Written by the Lean author (or by Lean’s elaborator, as an exported declaration).
Helper
Introduced by the reader to preserve sharing inside the named authored declaration.
Synthesized
Synthesized with no single Lean counterpart (for example, a derived recursor).
Prelude
The LOGOS prelude’s own checked declaration of the same identity. It is not written in the document; the fresh context already holds it, and verification compares it all the same.
Trait Implementations§
impl Eq for Origin
impl StructuralPartialEq for Origin
Auto Trait Implementations§
impl Freeze for Origin
impl RefUnwindSafe for Origin
impl Send for Origin
impl Sync for Origin
impl Unpin for Origin
impl UnsafeUnpin for Origin
impl UnwindSafe for Origin
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