pub struct MethodHandle<'input> {
pub kind: MethodKind,
pub reference: Item<'input>,
}
Fields§
§kind: MethodKind
§reference: Item<'input>
Trait Implementations§
source§impl<'input> Clone for MethodHandle<'input>
impl<'input> Clone for MethodHandle<'input>
source§fn clone(&self) -> MethodHandle<'input>
fn clone(&self) -> MethodHandle<'input>
Returns a copy 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<'input> Debug for MethodHandle<'input>
impl<'input> Debug for MethodHandle<'input>
source§impl<'input> PartialEq for MethodHandle<'input>
impl<'input> PartialEq for MethodHandle<'input>
source§fn eq(&self, other: &MethodHandle<'input>) -> bool
fn eq(&self, other: &MethodHandle<'input>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'input> PartialOrd for MethodHandle<'input>
impl<'input> PartialOrd for MethodHandle<'input>
source§fn partial_cmp(&self, other: &MethodHandle<'input>) -> Option<Ordering>
fn partial_cmp(&self, other: &MethodHandle<'input>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'input> StructuralPartialEq for MethodHandle<'input>
Auto Trait Implementations§
impl<'input> Freeze for MethodHandle<'input>
impl<'input> RefUnwindSafe for MethodHandle<'input>
impl<'input> Send for MethodHandle<'input>
impl<'input> Sync for MethodHandle<'input>
impl<'input> Unpin for MethodHandle<'input>
impl<'input> UnwindSafe for MethodHandle<'input>
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