Struct debugserver_types::ColumnDescriptor [] [src]

pub struct ColumnDescriptor {
    pub attribute_name: String,
    pub format: Option<String>,
    pub label: String,
    pub type_: Option<String>,
    pub width: Option<i64>,
}

A ColumnDescriptor specifies what module attribute to show in a column of the ModulesView, how to format it, and what the column's label should be. It is only used if the underlying UI actually supports this level of customization.

Fields

Name of the attribute rendered in this column.

Format to use for the rendered values in this column. TBD how the format strings looks like.

Header UI label of column.

Datatype of values in this column. Defaults to 'string' if not specified.

Width of this column in characters (hint only).

Trait Implementations

impl Clone for ColumnDescriptor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ColumnDescriptor
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for ColumnDescriptor
[src]

[src]

Formats the value using the given formatter.