title: How to get values from a class that has __slots__ and _fields_?
body: <p>I am using an API library that has the following implementaion of C code to the position and rotation in a Python program:</p>
  <pre><code>class struct_LinmathPose(Structure):
      pass
  
  struct_LinmathPose.__slots__ = [
      'Pos',
      'Rot',
  ]
  struct_LinmathPose._fields_ = [
      ('Pos', LinmathPoint3d),
      ('Rot', LinmathQuat),
  ]
  </code></pre>
  <p>And one of the variables is of this class. How can I get and access for example the position of this variable? LinmathPoint3d and LinmathQuat are C codes.</p>