pub struct Method {
pub name: SymId,
pub factory: bool,
pub params: Vec<SymId>,
pub returns: Option<SymId>,
pub own_records: u16,
pub code: Program,
}Expand description
params and returns are Java type signatures. The method’s LINKAGE records after its first
own_records are its part’s records, bound at each invocation to the object’s or the factory’s
data.
Fields§
§name: SymId§factory: bool§params: Vec<SymId>§returns: Option<SymId>§own_records: u16§code: ProgramTrait Implementations§
impl Eq for Method
impl StructuralPartialEq for Method
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnsafeUnpin for Method
impl UnwindSafe for Method
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