Struct mentat_ffi::RelResult [] [src]

pub struct RelResult<T> {
    pub width: usize,
    pub values: Vec<T>,
}

The result you get from a 'rel' query, like:

[:find ?person ?name
 :where [?person :person/name ?name]]

There are three ways to get data out of a RelResult:

Fields

Methods

impl<T> RelResult<T>
[src]

Important traits for Chunks<'a, T>

Trait Implementations

impl<T> IntoIterator for RelResult<T>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<T> Clone for RelResult<T> where
    T: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<Vec<Vec<TypedValue>>> for RelResult<Binding>
[src]

Performs the conversion.

impl<T> Eq for RelResult<T> where
    T: Eq
[src]

impl<T> PartialEq<RelResult<T>> for RelResult<T> where
    T: PartialEq<T>, 
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T> Debug for RelResult<T> where
    T: Debug
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for RelResult<T> where
    T: Send

impl<T> Sync for RelResult<T> where
    T: Sync