A mark type is a specification for a type of mark in a schema.
Summary
Functions
Validate attributes against the spec.
Create a mark of this type. attrs may be nil or a map containing
only some of the mark's attributes. The others, if they have defaults,
will be added.
Check whether this mark type excludes another.
Tests whether there is a mark of this type in the given set. Returns the Mark or nil.
When there is a mark of this type in the given set, a new set without it is returned.
Types
Functions
Validate attributes against the spec.
Create a mark of this type. attrs may be nil or a map containing
only some of the mark's attributes. The others, if they have defaults,
will be added.
Check whether this mark type excludes another.
Tests whether there is a mark of this type in the given set. Returns the Mark or nil.
When there is a mark of this type in the given set, a new set without it is returned.