enum Callee {
Method {
self_ty: Type,
by_ref: bool,
},
Static(Path),
Free,
}Expand description
How a wrapper reaches the import it wraps.
Variants§
Method
A method import: the wrapper is a method on the receiver’s type.
Static(Path)
A static_method_of = Class import: the wrapper is an associated function of Class.
Free
A free function.
Auto Trait Implementations§
impl !Send for Callee
impl !Sync for Callee
impl Freeze for Callee
impl RefUnwindSafe for Callee
impl Unpin for Callee
impl UnsafeUnpin for Callee
impl UnwindSafe for Callee
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