class_docstr: A spinner animation.
  
  Args:
      name (str): Name of spinner (run python -m rich.spinner).
      text (RenderableType, optional): A renderable to display at the right of the spinner (str or Text typically). Defaults to "".
      style (StyleType, optional): Style for spinner animation. Defaults to None.
      speed (float, optional): Speed factor for animation. Defaults to 1.0.
  
  Raises:
      KeyError: If name isn't one of the supported spinner animations.
class_docstr_tok: ["A","spinner","animation",".","Args",":","name","(","str",")",":","Name","of","spinner","(","run","python","-m","rich.spinner",")",".","text","(","RenderableType",",","optional",")",":","A","renderable","to","display","at","the","right","of","the","spinner","(","str","or","Text","typically",")",".","Defaults","to","``","''",".","style","(","StyleType",",","optional",")",":","Style","for","spinner","animation",".","Defaults","to","None",".","speed","(","float",",","optional",")",":","Speed","factor","for","animation",".","Defaults","to","1.0",".","Raises",":","KeyError",":","If","name","is","n't","one","of","the","supported","spinner","animations","."]
code: def __rich_measure__(
      self, console: "Console", options: "ConsoleOptions"
  ) -> Measurement:
      text = self.render(0)
      return Measurement.get(console, options, text)
  
file_path: rich/rich/spinner.py
imports: from typing import cast, List, Optional, TYPE_CHECKING, Union
  from ._spinners import SPINNERS
  from .measure import Measurement
  from .table import Table
  from .text import Text
label_desc: Use image node_id 3 for calling the Spinner obj's underlying member method code with example usage: obj.__rich_measure__(console, options) and returns: Measurement