pub struct AbcFile<T> { /* private fields */ }
Expand description
对外暴露的接口
Implementations§
Source§impl<T> AbcFile<T>
impl<T> AbcFile<T>
pub fn header(&self) -> &Header
pub fn classes(&self) -> &HashMap<uint32_t, Class>
pub fn parse_method(&self, name: String)
Sourcepub fn parse_code(&mut self)
pub fn parse_code(&mut self)
解析 Code,按需解析
Sourcepub fn get_class_names(&self) -> Vec<String>
pub fn get_class_names(&self) -> Vec<String>
获取所有的类名
Sourcepub fn get_method_names(&self) -> Vec<String>
pub fn get_method_names(&self) -> Vec<String>
获取所有的方法名
Sourcepub fn get_strings(&self) -> Vec<String>
pub fn get_strings(&self) -> Vec<String>
获取所有的字符串
Auto Trait Implementations§
impl<T> Freeze for AbcFile<T>
impl<T> RefUnwindSafe for AbcFile<T>where
T: RefUnwindSafe,
impl<T> !Send for AbcFile<T>
impl<T> !Sync for AbcFile<T>
impl<T> Unpin for AbcFile<T>
impl<T> UnwindSafe for AbcFile<T>where
T: RefUnwindSafe,
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