pub struct Analysis {
pub objects: BTreeMap<String, Info>,
pub records: BTreeMap<String, Info>,
pub global_functions: Option<InfoBase>,
pub constants: Vec<Info>,
pub enumerations: Vec<Info>,
pub enum_imports: Imports,
pub flags: Vec<Info>,
pub flags_imports: Imports,
}
Fields§
§objects: BTreeMap<String, Info>
§records: BTreeMap<String, Info>
§global_functions: Option<InfoBase>
§constants: Vec<Info>
§enumerations: Vec<Info>
§enum_imports: Imports
§flags: Vec<Info>
§flags_imports: Imports
Implementations§
source§impl Analysis
impl Analysis
pub fn find_global_function<F: Fn(&Info) -> bool + Copy>( &self, env: &Env, search: F, ) -> Option<&Info>
pub fn find_record_by_function<F: Fn(&Info) -> bool + Copy, G: Fn(&Info) -> bool + Copy>( &self, env: &Env, search_record: G, search_fn: F, ) -> Option<(&Info, &Info)>
pub fn find_object_by_virtual_method<F: Fn(&Info) -> bool + Copy, G: Fn(&Info) -> bool + Copy>( &self, env: &Env, search_obj: G, search_fn: F, ) -> Option<(&Info, &Info)>
pub fn find_object_by_function<F: Fn(&Info) -> bool + Copy, G: Fn(&Info) -> bool + Copy>( &self, env: &Env, search_obj: G, search_fn: F, ) -> Option<(&Info, &Info)>
pub fn find_enum_by_function<F: Fn(&Info) -> bool + Copy, G: Fn(&Info) -> bool + Copy>( &self, env: &Env, search_enum: G, search_fn: F, ) -> Option<(&Info, &Info)>
pub fn find_flag_by_function<F: Fn(&Info) -> bool + Copy, G: Fn(&Info) -> bool + Copy>( &self, env: &Env, search_flag: G, search_fn: F, ) -> Option<(&Info, &Info)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Analysis
impl RefUnwindSafe for Analysis
impl Send for Analysis
impl Sync for Analysis
impl Unpin for Analysis
impl UnwindSafe for Analysis
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