Breastfeeding weight loss question

So I know everyone says you lose weight faster and it helps your uterus to go back to normal size quicker if you breastfeed but is that the same for only pumping? I’m unable to breast feed directly bc of something wrong with my nipples but I am able to pump so I’ve been doing that but just wondering if there is something about the baby actually latching that does things to your body that maybe pumping doesn’t do? TIA