pub async fn segment_end_x( exec_state: &mut ExecState, args: Args, ) -> Result<KclValue, KclError>
Returns the segment end of x.