pub struct Intake { /* private fields */ }Expand description
An export that passed intake.
Implementations§
Source§impl Intake
impl Intake
pub fn header(&self) -> &Header
Sourcepub fn declarations(&self) -> &[Declaration]
pub fn declarations(&self) -> &[Declaration]
Every declared constant, in export order — which lean4export makes dependency order.
Sourcepub fn declaration(&self, kernel_name: &str) -> Option<&Declaration>
pub fn declaration(&self, kernel_name: &str) -> Option<&Declaration>
The declaration registered under kernel_name.
Sourcepub fn closure(&self, kernel_name: &str) -> Result<Vec<String>, Verdict>
pub fn closure(&self, kernel_name: &str) -> Result<Vec<String>, Verdict>
The dependency closure of kernel_name: the declaration itself, every constant its type and
value mention, transitively, and every member of each inductive block reached — in export
order, so the target comes after everything it depends on.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Intake
impl RefUnwindSafe for Intake
impl Send for Intake
impl Sync for Intake
impl Unpin for Intake
impl UnsafeUnpin for Intake
impl UnwindSafe for Intake
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