Skip to main content

can_auto_delegate_function

Function can_auto_delegate_function 

Source
pub fn can_auto_delegate_function(
    func: &FunctionDef,
    opaque_types: &AHashSet<String>,
) -> bool
Expand description

Check if a free function can be auto-delegated to the core crate. Opaque Named params are allowed (unwrapped via Arc). Non-opaque Named params are not (require From impls that may not exist for types with sanitized fields).