pub struct JasmClass {
pub modifiers: Vec<String>,
pub name: String,
pub version: Option<String>,
pub methods: Vec<JasmMethod>,
pub fields: Vec<JasmField>,
pub source_file: Option<String>,
}Fields§
§modifiers: Vec<String>访问修饰符(如 public, private 等)
name: String类名
version: Option<String>版本信息(如 65:0)
methods: Vec<JasmMethod>方法列表
fields: Vec<JasmField>字段列表
source_file: Option<String>源文件信息
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JasmClass
impl RefUnwindSafe for JasmClass
impl Send for JasmClass
impl Sync for JasmClass
impl Unpin for JasmClass
impl UnwindSafe for JasmClass
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