CompletionValues

Trait CompletionValues 

Source
pub trait CompletionValues {
    // Required method
    fn completion_values() -> Vec<String>;
}
Expand description

Trait to specify the completion values for a type.

Required Methods§

Source

fn completion_values() -> Vec<String>

Get the completion values for the type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl CompletionValues for bool

Source§

impl CompletionValues for i64

Source§

impl CompletionValues for String

Implementors§