pub struct CrateItems {
pub models: Vec<ModelFn>,
pub opaque: Vec<OpaqueFn>,
pub hashes: BTreeMap<String, String>,
pub uses: BTreeMap<Vec<String>, Uses>,
pub exported: BTreeMap<String, (Exported, String)>,
pub modules: Vec<Vec<String>>,
pub errors: Vec<String>,
}Expand description
What a scan of src/**/*.rs finds.
Fields§
§models: Vec<ModelFn>§opaque: Vec<OpaqueFn>#[leanfran::opaque] functions and methods.
hashes: BTreeMap<String, String>Hash of every function, method and type, by unit name.
uses: BTreeMap<Vec<String>, Uses>use declarations, by module path.
exported: BTreeMap<String, (Exported, String)>#[leanfran::exported("<Lean name>")] functions, by unit name: the arguments and the
file.
modules: Vec<Vec<String>>Inline and file modules, by module path.
errors: Vec<String>Implementations§
Source§impl CrateItems
impl CrateItems
Trait Implementations§
Source§impl Debug for CrateItems
impl Debug for CrateItems
Auto Trait Implementations§
impl !Send for CrateItems
impl !Sync for CrateItems
impl Forget for CrateItems
impl Freeze for CrateItems
impl Move for CrateItems
impl RefUnwindSafe for CrateItems
impl Unpin for CrateItems
impl UnsafeUnpin for CrateItems
impl UnwindSafe for CrateItems
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