Trait cayley::path::Compile [-]  [+] [src]

pub trait Compile: Clone {
    fn add_str(&mut self, what: &str) -> &mut Self;
    fn add_string(&mut self, what: String) -> &mut Self;
    fn compile(&self) -> Option<String>;
}

Marks any Path which is able to be compiled to a string Gremlin-compatible query

Required Methods

fn add_str(&mut self, what: &str) -> &mut Self

fn add_string(&mut self, what: String) -> &mut Self

fn compile(&self) -> Option<String>

Implementors