Struct mentat_ffi::QueryOutput
[−]
[src]
pub struct QueryOutput { pub spec: Rc<FindSpec>, pub results: QueryResults, }
Fields
spec: Rc<FindSpec>
results: QueryResults
Methods
impl QueryOutput
[src]
impl QueryOutput
ⓘImportant traits for Box<R>pub fn empty_factory(spec: &FindSpec) -> Box<Fn() + 'static>
[src]
ⓘImportant traits for Box<R>
pub fn empty_factory(spec: &FindSpec) -> Box<Fn() + 'static>
pub fn len(&self) -> usize
[src]
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
pub fn empty(spec: &Rc<FindSpec>) -> QueryOutput
[src]
pub fn empty(spec: &Rc<FindSpec>) -> QueryOutput
pub fn from_constants(
spec: &Rc<FindSpec>,
bindings: BTreeMap<Variable, TypedValue>
) -> QueryResults
[src]
pub fn from_constants(
spec: &Rc<FindSpec>,
bindings: BTreeMap<Variable, TypedValue>
) -> QueryResults
pub fn into_scalar(self) -> Result<Option<Binding>, Error>
[src]
pub fn into_scalar(self) -> Result<Option<Binding>, Error>
pub fn into_coll(self) -> Result<Vec<Binding>, Error>
[src]
pub fn into_coll(self) -> Result<Vec<Binding>, Error>
pub fn into_tuple(self) -> Result<Option<Vec<Binding>>, Error>
[src]
pub fn into_tuple(self) -> Result<Option<Vec<Binding>>, Error>
pub fn into_rel(self) -> Result<RelResult<Binding>, Error>
[src]
pub fn into_rel(self) -> Result<RelResult<Binding>, Error>
Trait Implementations
impl From<QueryOutput> for QueryResults
[src]
impl From<QueryOutput> for QueryResults
fn from(o: QueryOutput) -> QueryResults
[src]
fn from(o: QueryOutput) -> QueryResults
Performs the conversion.
impl Eq for QueryOutput
[src]
impl Eq for QueryOutput
impl PartialEq<QueryOutput> for QueryOutput
[src]
impl PartialEq<QueryOutput> for QueryOutput
fn eq(&self, __arg_0: &QueryOutput) -> bool
[src]
fn eq(&self, __arg_0: &QueryOutput) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &QueryOutput) -> bool
[src]
fn ne(&self, __arg_0: &QueryOutput) -> bool
This method tests for !=
.
impl Debug for QueryOutput
[src]
impl Debug for QueryOutput
Auto Trait Implementations
impl !Send for QueryOutput
impl !Send for QueryOutput
impl !Sync for QueryOutput
impl !Sync for QueryOutput