Previous: , Up: built-in structs   [Contents][Index]


6.20.2 The <struct-type-descriptor> type

Core Type: <struct-type-descriptor>
Parent Type: <struct>

Type of struct–type descriptor objects.

Constructor on <struct-type-descriptor>: <struct-type-descriptor> type-constructor name fields
Constructor on <struct-type-descriptor>: <struct-type-descriptor> type-constructor name fields uid

The constructor if make-struct-type.

Type predicate on <struct-type-descriptor>: <boolean> type-predicate obj

The type predicate is struct-type-descriptor?.

methods

Method on <struct-type-descriptor>: <string> name this

Apply struct-type-name to the instance and return its return value.

Method on <struct-type-descriptor>: <symbol> uid this

Apply struct-type-symbol to the instance and return its return value.

Method on <struct-type-descriptor>: (list-of <symbol>) field-names this

Apply struct-type-field-names to the instance and return its return value.

Method on <struct-type-descriptor>: <procedure> constructor this

Apply struct-type-constructor to the instance and return its return value.

Method on <struct-type-descriptor>: <type-predicate> predicate this

Apply struct-type-predicate to the instance and return its return value.

Method on <struct-type-descriptor>: <type-printer> printer this

Apply struct-type-printer to the instance and return its return value.

Method on <struct-type-descriptor>: <type-destructor> destructor this

Apply struct-type-destructor to the instance and return its return value.

Method on <struct-type-descriptor>: <procedure> field-accessor this {idx <non-negative-fixnum>}
Method on <struct-type-descriptor>: <procedure> field-accessor this {name <symbol>}

Apply struct-type-field-accessor to the instance and return its return value.

Method on <struct-type-descriptor>: <procedure> field-mutator this {idx <non-negative-fixnum>}
Method on <struct-type-descriptor>: <procedure> field-mutator this {name <symbol>}

Apply struct-type-field-mutator to the instance and return its return value.

Method on <struct-type-descriptor>: <procedure> field-method this {idx <non-negative-fixnum>}
Method on <struct-type-descriptor>: <procedure> field-method this {name <symbol>}

Apply struct-type-field-method to the instance and return its return value.


Previous: , Up: built-in structs   [Contents][Index]