pub struct LeanFile {
pub rel: String,
pub module: String,
pub toks: Vec<Token>,
pub decls: Vec<Decl>,
pub imports: Vec<String>,
}Expand description
One parsed .lean file of the tree.
Fields§
§rel: StringRelative to the lean dir, /-separated.
module: String§toks: Vec<Token>§decls: Vec<Decl>§imports: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for LeanFile
impl RefUnwindSafe for LeanFile
impl Send for LeanFile
impl Sync for LeanFile
impl Unpin for LeanFile
impl UnsafeUnpin for LeanFile
impl UnwindSafe for LeanFile
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