segments

returns an immutable list of the segments of this path

Since

8.5