pub struct LeanLakeProjectModules {
pub requested_root: PathBuf,
pub project_root: PathBuf,
pub lakefile: PathBuf,
pub declared_lean_libs: Vec<String>,
pub module_roots: Vec<String>,
pub selected_roots: Vec<String>,
pub modules: Vec<LeanModuleDescriptor>,
pub fingerprint: LeanModuleSetFingerprint,
}Expand description
A discovered Lake project and its Lean modules.
Fields§
§requested_root: PathBuf§project_root: PathBuf§lakefile: PathBuf§declared_lean_libs: Vec<String>Lakefile-declared lean_lib target names, in lexicographic order.
Empty when the lakefile declares no lean_lib targets. Distinct from
module_roots, which falls back to discovering top-level *.lean files
when no declaration is found. Callers verifying that a build target was
explicitly declared must consult this field, not module_roots.
module_roots: Vec<String>§selected_roots: Vec<String>§modules: Vec<LeanModuleDescriptor>§fingerprint: LeanModuleSetFingerprintTrait Implementations§
Source§impl Clone for LeanLakeProjectModules
impl Clone for LeanLakeProjectModules
Source§fn clone(&self) -> LeanLakeProjectModules
fn clone(&self) -> LeanLakeProjectModules
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LeanLakeProjectModules
impl Debug for LeanLakeProjectModules
Source§impl PartialEq for LeanLakeProjectModules
impl PartialEq for LeanLakeProjectModules
Source§fn eq(&self, other: &LeanLakeProjectModules) -> bool
fn eq(&self, other: &LeanLakeProjectModules) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeanLakeProjectModules
impl StructuralPartialEq for LeanLakeProjectModules
Auto Trait Implementations§
impl Freeze for LeanLakeProjectModules
impl RefUnwindSafe for LeanLakeProjectModules
impl Send for LeanLakeProjectModules
impl Sync for LeanLakeProjectModules
impl Unpin for LeanLakeProjectModules
impl UnsafeUnpin for LeanLakeProjectModules
impl UnwindSafe for LeanLakeProjectModules
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