structure-class
structure-class System Class
Class Precedence List:
structure-class, class, standard-object, t
Description:
All classes defined by means of defstruct are instances of the class structure-class.
Expanded Reference: structure-class
The structure-class Metaclass
structure-class is the metaclass of classes created by defstruct (when no :type option is used).
(defstruct color r g b)
=> COLOR
(typep (find-class 'color) 'structure-class)
=> T
Distinguishing from standard-class
(defclass my-object () ())
==> #<STANDARD-CLASS MY-OBJECT>
(typep (find-class 'my-object) 'structure-class)
=> NIL
(typep (find-class 'color) 'standard-class)
;; => NIL