Pudu programming language
Menu
API reference

Std.Meta.collect

3 declarations with this name

fn

collect: fn(Std.Meta.Field[T, F]) -> Option[E] -> Array[E]

An array holding what each answers for every field of the record T, in declaration order. A field whose answer is None is left out.

fn (trait VariantAccess)

collect: &Self -> fn(Std.Meta.Field[T, F]) -> Option[E] -> Array[E]

Required by this trait. A type that implements the trait supplies the body.

An array holding what each answers for every payload field.

fn (Variant)

collect: &Std.Meta.Variant[T] -> fn(Std.Meta.Field[T, F]) -> Option[E] -> Array[E]

One implementation of a trait method, for this type.

An array holding what each answers for every payload field.

Back to Std.MetaSearch related declarations