class_docstr: A simple renderable to render an iterable of segments. This class may be useful if
  you want to print segments outside of a __rich_console__ method.
  
  Args:
      segments (Iterable[Segment]): An iterable of segments.
      new_lines (bool, optional): Add new lines between segments. Defaults to False.
code: def __init__(
      self, segments: Iterable[Segment], new_lines: bool = False
  ) -> None:
      self.segments = list(segments)
      self.new_lines = new_lines
  
imports: from enum import IntEnum
  from functools import lru_cache
  from itertools import filterfalse
  from logging import getLogger
  from operator import attrgetter
  from typing import TYPE_CHECKING, Dict, Iterable, List, NamedTuple, Optional, Sequence, Tuple, Type, Union
  from .cells import _is_single_cell_widths, cached_cell_len, cell_len, get_character_cell_size, set_cell_size
  from .repr import Result, rich_repr
  from .style import Style
label_desc: Use image node_id 1 to create a new Segments object  with example: obj = Segments(segments, new_lines)