let get_target = function | `Target t -> `Target t | `Pointer { Target_pointer. pointer; _} -> `Pointer pointer