RV's are all PEX.
I'm not sure if they still use cast iron for drains in homes with a crawl space as those aren't built much anymore?
I don't know about ALL RV's, but our supply lines are all PEX and the drains are some kind of black plastic "plumbing." I don't know if the black stuff is like PVC or not, but it isn't ever under pressure.
And the comment made about PEX being better with regards to freezing, I have some evidence of that. Our RV is well insulated, but if it gets down to zero degrees or below, the hot water line from the water manifold to the kitchen sink will freeze up. It has done that about 3 times in the last 12 years, but has never broken or split.