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 CrateItemswhere
*const u8 is !null: Freeze,
PhantomData<ModelFn>: Freeze,
PhantomData<OpaqueFn>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
*const LeafNode<Vec<String>, Uses> is !null: Freeze,
PhantomData<Box<(Vec<String>, Uses)>>: Freeze,
*const LeafNode<String, (Exported, String)> is !null: Freeze,
PhantomData<Box<(String, (Exported, String))>>: Freeze,
PhantomData<Vec<String>>: Freeze,
PhantomData<String>: Freeze,
impl Move for CrateItems
impl RefUnwindSafe for CrateItemswhere
NonZero<u32>: RefUnwindSafe,
ProcMacroAutoTraits: RefUnwindSafe,
RcVec<TokenTree>: RefUnwindSafe,
impl Unpin for CrateItemswhere
*const u8 is !null: Unpin,
NonZero<u32>: Unpin,
Rc<()>: Unpin,
Box<str>: Unpin,
Rc<Vec<TokenTree>>: Unpin,
Box<Expr>: Unpin,
Box<Pat>: Unpin,
Box<LitRepr>: Unpin,
Box<LitIntRepr>: Unpin,
Box<LitFloatRepr>: Unpin,
Box<Type>: Unpin,
Box<FieldPat>: Unpin,
Box<Path>: Unpin,
Box<Lifetime>: Unpin,
Box<CapturedParam>: Unpin,
Box<TypeParamBound>: Unpin,
Box<GenericParam>: Unpin,
Box<WherePredicate>: Unpin,
Box<Field>: Unpin,
Box<Variant>: Unpin,
Box<FnArg>: Unpin,
Box<Block>: Unpin,
Box<UseTree>: Unpin,
Box<FieldValue>: Unpin,
Box<NamedArg>: Unpin,
Box<GenericArgument>: Unpin,
Box<PathSegment>: Unpin,
*const LeafNode<String, String> is !null: Unpin,
Box<(String, String)>: Unpin,
*const LeafNode<Vec<String>, Uses> is !null: Unpin,
Box<(Vec<String>, Uses)>: Unpin,
*const LeafNode<String, (Exported, String)> is !null: Unpin,
Box<(String, (Exported, String))>: Unpin,
impl UnsafeUnpin for CrateItemswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<ModelFn>: UnsafeUnpin,
PhantomData<OpaqueFn>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
*const LeafNode<Vec<String>, Uses> is !null: UnsafeUnpin,
PhantomData<Box<(Vec<String>, Uses)>>: UnsafeUnpin,
*const LeafNode<String, (Exported, String)> is !null: UnsafeUnpin,
PhantomData<Box<(String, (Exported, String))>>: UnsafeUnpin,
PhantomData<Vec<String>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for CrateItemswhere
RawVecInner: UnwindSafe,
NonZero<u32>: UnwindSafe,
ProcMacroAutoTraits: UnwindSafe,
BoxRaw<str>: UnwindSafe,
Rc<Vec<TokenTree>>: UnwindSafe,
BoxRaw<Expr>: UnwindSafe,
BoxRaw<Pat>: UnwindSafe,
BoxRaw<LitRepr>: UnwindSafe,
BoxRaw<LitIntRepr>: UnwindSafe,
BoxRaw<LitFloatRepr>: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
BoxRaw<FieldPat>: UnwindSafe,
BoxRaw<Path>: UnwindSafe,
BoxRaw<Lifetime>: UnwindSafe,
BoxRaw<CapturedParam>: UnwindSafe,
BoxRaw<TypeParamBound>: UnwindSafe,
BoxRaw<GenericParam>: UnwindSafe,
BoxRaw<WherePredicate>: UnwindSafe,
BoxRaw<Field>: UnwindSafe,
BoxRaw<Variant>: UnwindSafe,
BoxRaw<FnArg>: UnwindSafe,
BoxRaw<Block>: UnwindSafe,
BoxRaw<UseTree>: UnwindSafe,
BoxRaw<FieldValue>: UnwindSafe,
BoxRaw<NamedArg>: UnwindSafe,
BoxRaw<GenericArgument>: UnwindSafe,
BoxRaw<PathSegment>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<Vec<String>, Uses>: UnwindSafe,
BTreeMap<String, (Exported, String)>: UnwindSafe,
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