Struct amfnengine::core::list_column::ListColumn
[−]pub struct ListColumn { /* private fields */ }
Implementations
impl ListColumn
impl ListColumn
List of columns implementation.
pub fn new() -> ListColumn
pub fn new() -> ListColumn
pub fn add_column(
&mut self,
col_name_param: &str,
col_name_index_param: usize,
col_header_param: &str,
col_description_param: &str,
group_param: &str,
name_param: &str,
col_type_param: &str,
code_param: &str,
format_param: FormatType,
decimal_digits_param: usize,
column_width_param: usize,
column_editable_param: bool
) -> bool
pub fn add_column(
&mut self,
col_name_param: &str,
col_name_index_param: usize,
col_header_param: &str,
col_description_param: &str,
group_param: &str,
name_param: &str,
col_type_param: &str,
code_param: &str,
format_param: FormatType,
decimal_digits_param: usize,
column_width_param: usize,
column_editable_param: bool
) -> bool
Add a new column into the column list.
Arguments
col_name_param
- Column name.col_name_index_param
- Column index.col_header_param
- Column header.col_description_param
- Column description.group_param
- Group parameter.name_param
- Name parameter.col_type_param
- Column type.code_param
- Code parameter.column_empty_value_param
- Column empty value.format_param
- Column format.decimal_digits_param
- Decimal digits.column_width_param
- Column width.column_exclude_param
- Column exclude.
Return
- True if successful, otherwise false.
pub fn column(&self) -> &ElemColumn
pub fn column(&self) -> &ElemColumn
pub fn col_name_index(&self) -> usize
pub fn col_name_index(&self) -> usize
pub fn col_header(&self) -> &str
pub fn col_header(&self) -> &str
pub fn col_description(&self) -> &str
pub fn col_description(&self) -> &str
pub fn format(&self) -> FormatType
pub fn format(&self) -> FormatType
pub fn decimal_digits(&self) -> usize
pub fn decimal_digits(&self) -> usize
pub fn column_width(&self) -> usize
pub fn column_width(&self) -> usize
pub fn column_editable(&self) -> bool
pub fn column_editable(&self) -> bool
pub fn get_element_by_col_name_index(&self, col_name_index: usize) -> bool
pub fn get_element_by_col_name_index(&self, col_name_index: usize) -> bool
Trait Implementations
impl Default for ListColumn
impl Default for ListColumn
List of columns default implementation.
impl ListTrait for ListColumn
impl ListTrait for ListColumn
List of columns list implementation.
Auto Trait Implementations
impl !RefUnwindSafe for ListColumn
impl Send for ListColumn
impl !Sync for ListColumn
impl Unpin for ListColumn
impl UnwindSafe for ListColumn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more