pub struct InvokePlan<P = u32, O = Operand, S = u32> {
pub receiver: Receiver<P, S>,
pub method: MethodName<P, S>,
pub args: Vec<(O, S)>,
pub returning: Option<(P, S)>,
pub on_exception: bool,
pub not_on_exception: bool,
}Expand description
args and returning carry each Java type signature. The op evaluates the method name, then the
receiver, then each argument, and returns Arm(1) when no method matches and ON EXCEPTION is
written, Arm(0) otherwise, or Next when neither phrase is written. returning is moved by the
kind of the value the method returns.
Fields§
§receiver: Receiver<P, S>§method: MethodName<P, S>§args: Vec<(O, S)>§returning: Option<(P, S)>§on_exception: bool§not_on_exception: boolTrait Implementations§
Source§impl<P, O, S> Clone for InvokePlan<P, O, S>
impl<P, O, S> Clone for InvokePlan<P, O, S>
Source§fn clone(&self) -> InvokePlan<P, O, S>
fn clone(&self) -> InvokePlan<P, O, S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<P, O, S> Debug for InvokePlan<P, O, S>
impl<P, O, S> Debug for InvokePlan<P, O, S>
Source§impl Decode for InvokePlan
impl Decode for InvokePlan
fn decode(r: &mut Reader<'_>) -> Result<InvokePlan, ModuleError>
impl<P, O, S> Eq for InvokePlan<P, O, S>
Source§impl<P, O, S> PartialEq for InvokePlan<P, O, S>
impl<P, O, S> PartialEq for InvokePlan<P, O, S>
impl<P, O, S> StructuralPartialEq for InvokePlan<P, O, S>
Auto Trait Implementations§
impl<P, O, S> Freeze for InvokePlan<P, O, S>
impl<P, O, S> RefUnwindSafe for InvokePlan<P, O, S>where
Receiver<P, S>: RefUnwindSafe,
MethodName<P, S>: RefUnwindSafe,
Vec<(O, S)>: RefUnwindSafe,
Option<(P, S)>: RefUnwindSafe,
impl<P, O, S> Send for InvokePlan<P, O, S>
impl<P, O, S> Sync for InvokePlan<P, O, S>
impl<P, O, S> Unpin for InvokePlan<P, O, S>
impl<P, O, S> UnsafeUnpin for InvokePlan<P, O, S>where
Receiver<P, S>: UnsafeUnpin,
MethodName<P, S>: UnsafeUnpin,
Vec<(O, S)>: UnsafeUnpin,
Option<(P, S)>: UnsafeUnpin,
impl<P, O, S> UnwindSafe for InvokePlan<P, O, S>where
Receiver<P, S>: UnwindSafe,
MethodName<P, S>: UnwindSafe,
Vec<(O, S)>: UnwindSafe,
Option<(P, S)>: UnwindSafe,
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