Skip to main content

HasCount

Trait HasCount 

Source
pub trait HasCount<Idx> {
    type Value;

    // Required method
    fn count(&self) -> &Self::Value;
}
Expand description

The identity a selected count(*) is filed under in a row.

Required Associated Types§

Required Methods§

Source

fn count(&self) -> &Self::Value

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<L, Idx> HasCount<Idx> for Row<L>
where L: Field<Count, Idx>,

Source§

type Value = <L as Field<Count, Idx>>::Value