Fixed point sets of metric and nonmetric spaces