pub struct MethodHandle {
pub reference_kind: u8,
pub reference_index: u16,
}Expand description
Java SE 7 § 4.4.8: A CONSTANT_MethodHandle_info, minus the tag.
Fields§
§reference_kind: u8§reference_index: u16Implementations§
Trait Implementations§
Source§impl Clone for MethodHandle
impl Clone for MethodHandle
Source§fn clone(&self) -> MethodHandle
fn clone(&self) -> MethodHandle
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 MethodHandle
impl Debug for MethodHandle
Source§impl From<MethodHandle> for Constant
impl From<MethodHandle> for Constant
Source§fn from(value: MethodHandle) -> Self
fn from(value: MethodHandle) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MethodHandle
impl RefUnwindSafe for MethodHandle
impl Send for MethodHandle
impl Sync for MethodHandle
impl Unpin for MethodHandle
impl UnwindSafe for MethodHandle
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