Yes and no...
In your specific case, no. The struct is nothing more than a data container, and the function resides elsewhere. When the function is called, a pointer to the struct is passed as an additional, implicit first parameter that appears as this
pointer within the function.
Matter changes, though, if you add a virtual function. Although the C++ standard does not mandate it, vtables are the defacto standard, and the class will receive a pointer to a vtable as very first, but invisible member. You can try this out by printing out the size of an object before and after adding the virtual function.
On the other hand, if the class is virtual already because of inheriting from another class that already has virtual functions, memory layout won't change any more again as there is already a pointer to the vtable included (although it will point to a different location for instances of the sub-class).