Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainNode ¶
type ChainNode interface {
Node
//NodeKind identifies the type of modifier node.
Kind() NodeKind
// Bitset of phases a node cares about.
Phases() Phases
// Attach is called when the node is attached to a node tree
Attach(node TreeNode)
// Detach is called when the node is detached from a node tree
Detach()
// Next returns the next node in the chain
Next() ChainNode
// SetNext sets the next node in the chain
SetNext(node ChainNode)
}
func NewChainNode ¶
type ModifierNode ¶
type ModifierNode interface {
ChainNode
}
type NewChainNodeOption ¶
type NewChainNodeOption func(options *NewChainNodeOptions)
func NewChainNodeWithNextNode ¶
func NewChainNodeWithNextNode(nextNode ChainNode) NewChainNodeOption
func NewChainNodeWithOnDetach ¶
func NewChainNodeWithOnDetach(onDetach func()) NewChainNodeOption
type NewChainNodeOptions ¶
type NewChainNodeOptions struct {
// contains filtered or unexported fields
}
type NodeKind ¶
type NodeKind uint16
NodeKind identifies the type of modifier node. These are bit flags that can be combined.
const ( NodeKindAny NodeKind = 1 << iota NodeKindLayout NodeKindDraw NodeKindSemantics NodeKindPointerInput NodeKindLocals NodeKindParentData NodeKindLayoutAware NodeKindGlobalPositionAware NodeKindIntermediateMeasure NodeKindFocusTarget NodeKindFocusProperties NodeKindFocusEvent NodeKindKeyInput NodeKindRotaryInput NodeKindCompositionLocalConsumer )
type NodePath ¶
type NodePath struct {
// contains filtered or unexported fields
}
func NewNodePath ¶
Click to show internal directories.
Click to hide internal directories.