parameters: (self, num_bits: int)
return_statement: return SNode(self.ptr.bit_struct(num_bits, impl.current_cfg().packed))
docstring: Adds a bit_struct SNode as a child component of `self`.
  
          Args:
              num_bits: Number of bits to use.
  
          Returns:
              The added :class:`~taichi.lang.SNode` instance.
docstring_summary: Adds a bit_struct SNode as a child component of `self`.
docstring_tokens: Adds a bit_struct SNode as a child component of self .
function: def bit_struct(self, num_bits: int):
          """Adds a bit_struct SNode as a child component of `self`.
  
          Args:
              num_bits: Number of bits to use.
  
          Returns:
              The added :class:`~taichi.lang.SNode` instance.
          """
          return SNode(self.ptr.bit_struct(num_bits, impl.current_cfg().packed))
function_tokens: def bit_struct ( self , num_bits : int ) : return SNode ( self . ptr . bit_struct ( num_bits , impl . current_cfg ( ) . packed ) )