pub struct InvokeStatic {
pub index: u16,
}Expand description
Represents a invokestatic instruction.
See 6.5.invokestatic
Fields§
§index: u16Implementations§
Source§impl InvokeStatic
impl InvokeStatic
Sourcepub fn method_ref<'instruction, 'constant_pool: 'instruction>(
&'instruction self,
constant_pool: &'constant_pool ConstantPool,
) -> Option<&'constant_pool MethodRef>
pub fn method_ref<'instruction, 'constant_pool: 'instruction>( &'instruction self, constant_pool: &'constant_pool ConstantPool, ) -> Option<&'constant_pool MethodRef>
Get target method’s reference invoked by invokestatic instruction from constant pool.
Trait Implementations§
Source§impl Clone for InvokeStatic
impl Clone for InvokeStatic
Source§fn clone(&self) -> InvokeStatic
fn clone(&self) -> InvokeStatic
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InvokeStatic
impl Debug for InvokeStatic
Source§impl<'de> Deserialize<'de> for InvokeStatic
impl<'de> Deserialize<'de> for InvokeStatic
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for InvokeStatic
impl Hash for InvokeStatic
Source§impl Ord for InvokeStatic
impl Ord for InvokeStatic
Source§fn cmp(&self, other: &InvokeStatic) -> Ordering
fn cmp(&self, other: &InvokeStatic) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InvokeStatic
impl PartialEq for InvokeStatic
Source§impl PartialOrd for InvokeStatic
impl PartialOrd for InvokeStatic
Source§impl Serialize for InvokeStatic
impl Serialize for InvokeStatic
impl Copy for InvokeStatic
impl Eq for InvokeStatic
impl StructuralPartialEq for InvokeStatic
Auto Trait Implementations§
impl Freeze for InvokeStatic
impl RefUnwindSafe for InvokeStatic
impl Send for InvokeStatic
impl Sync for InvokeStatic
impl Unpin for InvokeStatic
impl UnwindSafe for InvokeStatic
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