Parses a segment this and copies the Segment into the location given by segment.
segment
The event to parse
a pointer to a Segment