Tangence::Meta::Field - structure representing one
Tangence structure field
This data structure object stores information about one field of a Tangence structure. Once constructed, such objects are immutable.
$field = Tangence::Meta::Field->new( %args )
Returns a new instance initialised by the given fields.
- name => STRING
Name of the field
- type => STRING
Type of the field as a Tangence::Meta::Type reference
$name = $field->name
Returns the name of the field
$type = $field->type
Return the type as a Tangence::Meta::Type reference.
Paul Evans <email@example.com>