Trait mg::completion::ToCell

source ·
pub trait ToCell {
    // Required method
    fn to_cell(&self) -> CompletionCell;
}
Expand description

Trait to specify that a type can be converted to a CompletionCell.

Required Methods§

source

fn to_cell(&self) -> CompletionCell

Convert a value to a CompletionCell.

Implementations on Foreign Types§

source§

impl ToCell for String

source§

impl ToCell for str

Implementors§