fn find_receiver(sig: &Signature) -> Option<Receiver> {
        for arg in &sig.inputs {
            match arg {
                FnArg::Receiver(rec) => return Some(rec.clone()),
                _ => {}
            }
        }

        None
    }
/// find receiver if any, this will be used to indicate if this is method
find receiver if any, this will be used to indicate if this is method
find receiver if any this will be used to indicate if this is method
fn find_receiver(sig: &Signature) -> Option<Receiver> {
        for arg in &sig.inputs {
            match arg {
                FnArg::Receiver(rec) => return Some(rec.clone()),
                _ => {}
            }
        }
        None
    }
fn find_receiver ( sig : & Signature ) -> Option < Receiver > { for arg in & sig . inputs { match arg { FnArg :: Receiver ( rec ) => return Some ( rec . clone ( ) ) , _ => { } } } None }
find receiver if any, this will be used to indicate if this is method
find receiver if any this will be used to indicate if this is method
sig
&Signature