Skip to main content

can_auto_delegate

Function can_auto_delegate 

Source
pub fn can_auto_delegate(
    method: &MethodDef,
    opaque_types: &AHashSet<String>,
) -> bool
Expand description

Check if all params and return type are delegatable. For opaque types, skip methods with RefMut receiver (cannot borrow Arc mutably).