pub struct CodeBase {
pub enums: Vec<EnumInfo>,
pub structs: Vec<StructInfo>,
pub files: Vec<FileInfo>,
}Expand description
Represents a parsed Rust codebase containing all discovered code elements.
Fields§
§enums: Vec<EnumInfo>All discovered enumerators in the codebase.
structs: Vec<StructInfo>All discovered structs in the codebase.
files: Vec<FileInfo>Source files that were parsed.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CodeBase
impl<'de> Deserialize<'de> for CodeBase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CodeBase
impl RefUnwindSafe for CodeBase
impl Send for CodeBase
impl Sync for CodeBase
impl Unpin for CodeBase
impl UnwindSafe for CodeBase
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