struct

Tracing::Core::Field::FieldSet

Inherits Struct < Value < Object

A set of field names, ordered by declaration index.

Constructors

new(fields : Array(Field) = [] of Field, callsite_id : Pointer(Void) = Pointer(Void).null)
Source

Class methods

of(field_names : Enumerable(String), callsite : Callsite::Identifier)
Source

Instance methods

==(other : FieldSet) : Bool
Source
[](index : Int32) : Field
Source
callsite
Source
each
Source
empty?
Source
fake_field
Source
fields
Source
size
Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source