use Calculater::main; Calculater::main::basicfun::add(&mut a,&mut b); Calculater::main::basicfun::sub(&mut a,&mut b); Calculater::main::basicfun::mul(&mut a,&mut b); Calculater::main::basicfun::div(&mut a,&mut b); Calculater::main::squarefun::squr(&mut a); Calculater::main::squarefun::cube(&mut a); Calculater::main::squarefun::power(&mut a,&mut b);