Struct mg::completion::CompletionCell [] [src]

pub struct CompletionCell {
    pub foreground: Option<String>,
    pub value: String,
}

A completion cell is the value with attributes of one data in a row.

Fields

The foreground color of the cell or None if using the default color.

The text value to show on the cell.

Methods

impl CompletionCell
[src]

[src]

Create a new cell.

[src]

Set the foreground color of the cell.

Trait Implementations

impl Clone for CompletionCell
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl ToCell for CompletionCell
[src]

[src]

Convert a value to a CompletionCell.