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
attribute_name: String
Name of the attribute rendered in this column.
format: Option<String>
Format to use for the rendered values in this column. TBD how the format strings looks like.
label: String
Header UI label of column.
type_: Option<String>
Datatype of values in this column. Defaults to 'string' if not specified.
width: Option<i64>
Width of this column in characters (hint only).
Trait Implementations
impl Clone for ColumnDescriptor
[src]
fn clone(&self) -> ColumnDescriptor
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ColumnDescriptor
[src]
fn eq(&self, __arg_0: &ColumnDescriptor) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ColumnDescriptor) -> bool
[src]
This method tests for !=
.