pub struct CodeStructure {
pub functions: Vec<FunctionInfo>,
pub structs: Vec<StructInfo>,
pub enums: Vec<EnumInfo>,
pub impls: Vec<ImplInfo>,
pub imports: Vec<String>,
pub features_used: Vec<String>,
}Expand description
Code structure information
Fields§
§functions: Vec<FunctionInfo>Functions found in the code
structs: Vec<StructInfo>Structs found in the code
enums: Vec<EnumInfo>Enums found in the code
impls: Vec<ImplInfo>Implementation blocks found in the code
imports: Vec<String>Import statements found in the code
features_used: Vec<String>Bevy features used in the code
Trait Implementations§
Source§impl Clone for CodeStructure
impl Clone for CodeStructure
Source§fn clone(&self) -> CodeStructure
fn clone(&self) -> CodeStructure
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CodeStructure
impl RefUnwindSafe for CodeStructure
impl Send for CodeStructure
impl Sync for CodeStructure
impl Unpin for CodeStructure
impl UnwindSafe for CodeStructure
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