Function: rst-Stn-ttl
rst-Stn-ttl is a byte-compiled function defined in rst.el.gz.
Signature
(rst-Stn-ttl rst-Stn-ttl X)
Documentation
Access slot "ttl" of rst-Stn struct X.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/rst.el.gz
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Class rst-Stn
(cl-defstruct
(rst-Stn
(:constructor nil) ; Prevent creating unchecked values.
;; Construct while all parameters must be valid.
(:constructor
rst-Stn-new
(ttl-arg
level-arg
children-arg
&aux
(ttl (rst-Stn--validate-ttl ttl-arg))
(level (rst-Stn--validate-level level-arg ttl))
(children (rst-Stn--validate-children children-arg ttl)))))
"Representation of a section tree node.
This type is immutable."
;; The title of the node or nil for a missing node.
(ttl nil :read-only t)
;; The level of the node in the tree. Negative for the (virtual) top level
;; node.
(level nil :read-only t)
;; The list of children of the node.
(children nil :read-only t))