fluid.children

This module defines the Children struct which will catch mutations made to it while drawing, and defines utils for operating on children.

Members

Aliases

Children
alias Children = Node[]
Undocumented in source.

Functions

asConst
const(Node[]) asConst(Children children)

Get the children list as const.

assertClean
void assertClean(Children children, string message)

Make sure the given children list hasn't changed since the dirty bit was last cleared.

assertClean
void assertClean(Children children)

Make sure the given children list hasn't changed since the dirty bit was last cleared.

assertLocked
void assertLocked(Children children)
Undocumented in source. Be warned that the author may not have intended to support it.
clearDirty
void clearDirty(Children children)

Clear the dirty bit on the given children list

forceMutable
Node[] forceMutable(Children children)

Get a reference to the children list forcefully, ignoring the lock. Doesn't set the dirty flag.

lock
void lock(Children children)
Undocumented in source. Be warned that the author may not have intended to support it.
unlock
void unlock(Children children)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Children
struct Children
Undocumented in source.

Meta