Trait mentat_query_projector::BindingTuple [] [src]

pub trait BindingTuple: Sized {
    fn from_binding_vec(
        expected: usize,
        vec: Option<Vec<Binding>>
    ) -> Result<Option<Self>>; }

A BindingTuple is any type that can accommodate a Mentat tuple query result of fixed length.

Currently Rust tuples of length 1 through 6 (i.e., (A) through (A, B, C, D, E, F)) are supported as are vectors (i.e., Vec<>).

Required Methods

Implementations on Foreign Types

impl BindingTuple for Vec<Binding>
[src]

[src]

impl BindingTuple for (Binding,)
[src]

[src]

impl BindingTuple for (Binding, Binding)
[src]

[src]

impl BindingTuple for (Binding, Binding, Binding)
[src]

[src]

impl BindingTuple for (Binding, Binding, Binding, Binding)
[src]

[src]

impl BindingTuple for (Binding, Binding, Binding, Binding, Binding)
[src]

[src]

impl BindingTuple for (Binding, Binding, Binding, Binding, Binding, Binding)
[src]

[src]

Implementors