oxigraph::sparql::results::solution

Trait VariableSolutionIndex

Source
pub trait VariableSolutionIndex {
    // Required method
    fn index(self, solution: &QuerySolution) -> Option<usize>;
}
Expand description

A utility trait to get values for a given variable or tuple position.

See QuerySolution::get.

Required Methods§

Source

fn index(self, solution: &QuerySolution) -> Option<usize>

Implementations on Foreign Types§

Source§

impl VariableSolutionIndex for &str

Source§

fn index(self, solution: &QuerySolution) -> Option<usize>

Source§

impl VariableSolutionIndex for usize

Implementors§