Struct gluon_completion::SuggestionQuery
[−]
[src]
pub struct SuggestionQuery { pub paths: Vec<PathBuf>, pub modules: Vec<Cow<'static, str>>, }
Fields
paths: Vec<PathBuf>
modules: Vec<Cow<'static, str>>
Methods
impl SuggestionQuery
[src]
fn new() -> Self
[src]
fn suggest<T>(
&self,
env: &T,
expr: &SpannedExpr<Symbol>,
pos: BytePos
) -> Vec<Suggestion> where
T: TypeEnv,
[src]
&self,
env: &T,
expr: &SpannedExpr<Symbol>,
pos: BytePos
) -> Vec<Suggestion> where
T: TypeEnv,
Trait Implementations
impl Default for SuggestionQuery
[src]
fn default() -> SuggestionQuery
[src]
Returns the "default value" for a type. Read more