Upvote:3
Your visas will be valid for your journey into and out of Britain.
Passengers travelling on Eurostar trains from Paris pass through both French and British immigration at the Gare du Nord in Paris.
Travelling from London they pass through British and French immigration at St Pancras.
There are no immigration formalities on arrival in either direction so your passport will be stamped at the station you board the train.