pub trait FieldValues: HList {
    type Type: Any;

    // Required method
    fn field_values(vm: &Thread, fields: &mut Vec<Field<Symbol, ArcType>>);
}

Required Associated Types§

Required Methods§

source

fn field_values(vm: &Thread, fields: &mut Vec<Field<Symbol, ArcType>>)

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FieldValues for HNil

source§

impl<F: Field, H: VmType, T> FieldValues for HCons<(F, H), T>
where T: FieldValues, H::Type: Sized,

§

type Type = HCons<(&'static str, <H as VmType>::Type), <T as FieldValues>::Type>

source§

fn field_values(vm: &Thread, fields: &mut Vec<Field<Symbol, ArcType>>)

Implementors§