pub enum LambdaKind {
Lambda,
MethodRef,
}Expand description
Lambda kind inferred from invokedynamic + LambdaMetafactory.
Variants§
Lambda
args -> body referencing an implementation method.
MethodRef
Cls::name static/instance reference.
Trait Implementations§
Source§impl Clone for LambdaKind
impl Clone for LambdaKind
Source§impl Debug for LambdaKind
impl Debug for LambdaKind
Source§impl PartialEq for LambdaKind
impl PartialEq for LambdaKind
impl StructuralPartialEq for LambdaKind
Auto Trait Implementations§
impl Freeze for LambdaKind
impl RefUnwindSafe for LambdaKind
impl Send for LambdaKind
impl Sync for LambdaKind
impl Unpin for LambdaKind
impl UnsafeUnpin for LambdaKind
impl UnwindSafe for LambdaKind
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