Skip to main content

column_local

Function column_local 

Source
pub(crate) fn column_local(name: &Ident) -> Ident
Expand description

The local a fill (the owned From<Vec<Row>>, or the borrowed DataFrameRowBorrow) keeps column name in. Prefixed, so no column can shadow the fill’s own bindings (rows, row, len, __mx_row, __mx_len): a field named len used to break the owned fill.

The call-site span keeps non_snake_case off the user’s field: the prefixed name of a field _x (__mx_col__x) is not snake case.