Struct mentat_query_projector::QueryOutput
[−]
[src]
pub struct QueryOutput { pub spec: Rc<FindSpec>, pub results: QueryResults, }
Fields
spec: Rc<FindSpec>
results: QueryResults
Methods
impl QueryOutput
[src]
impl QueryOutput
pub fn empty_factory(spec: &FindSpec) -> Box<Fn() -> QueryResults>
[src]
pub fn empty_factory(spec: &FindSpec) -> Box<Fn() -> QueryResults>
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: VariableBindings
) -> QueryResults
[src]
pub fn from_constants(
spec: &Rc<FindSpec>,
bindings: VariableBindings
) -> QueryResults
pub fn into_scalar(self) -> Result<Option<Binding>>
[src]
pub fn into_scalar(self) -> Result<Option<Binding>>
pub fn into_coll(self) -> Result<Vec<Binding>>
[src]
pub fn into_coll(self) -> Result<Vec<Binding>>
pub fn into_tuple(self) -> Result<Option<Vec<Binding>>>
[src]
pub fn into_tuple(self) -> Result<Option<Vec<Binding>>>
pub fn into_rel(self) -> Result<RelResult<Binding>>
[src]
pub fn into_rel(self) -> Result<RelResult<Binding>>
Trait Implementations
impl Debug for QueryOutput
[src]
impl Debug for QueryOutput
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for QueryOutput
[src]
impl PartialEq 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 Eq for QueryOutput
[src]
impl Eq for QueryOutput
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.
Auto Trait Implementations
impl !Send for QueryOutput
impl !Send for QueryOutput
impl !Sync for QueryOutput
impl !Sync for QueryOutput