Skip to main content

DataFrameRow

Trait DataFrameRow 

Source
pub trait DataFrameRow { }
Expand description

Marker trait for types generated by #[derive(DataFrameRow)].

Automatically implemented by the DataFrameRow derive macro. The derive macro emits a compile-time assertion against this trait for every struct-typed variant field, giving users a clear error when the inner type is missing the derive.

This trait has no supertrait — the actual data-frame conversion contract is on the generated companion {Name}DataFrame struct (which implements ColumnSource). The marker is used solely for compile-time assertions via _assert_inner_is_dataframe_row::<T>() generated by the outer derive.

You should not implement this trait manually.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§