Struct amfnengine::core::elem_column::ElemColumn
[−]pub struct ElemColumn { /* private fields */ }
Implementations
impl ElemColumn
impl ElemColumn
The column element implementation.
pub fn new(
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
) -> ElemColumn
pub fn new(
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
) -> ElemColumn
Create a new column element.
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.format_param
- Column format.decimal_digits_param
- Decimal digits.column_width_param
- Column width.column_editable
- Column editable.
Return
- See description.
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 set_col_name(&mut self, col_name_param: &str)
pub fn set_col_name(&mut self, col_name_param: &str)
pub fn set_col_name_index(&mut self, col_name_index_param: usize)
pub fn set_col_name_index(&mut self, col_name_index_param: usize)
pub fn set_col_header(&mut self, col_header_param: &str)
pub fn set_col_header(&mut self, col_header_param: &str)
pub fn set_col_description(&mut self, col_desc_param: &str)
pub fn set_col_description(&mut self, col_desc_param: &str)
pub fn set_col_type(&mut self, col_type_param: &str)
pub fn set_col_type(&mut self, col_type_param: &str)
pub fn set_format(&mut self, format_param: FormatType)
pub fn set_format(&mut self, format_param: FormatType)
pub fn set_decimal_digits(&mut self, dec_digits_param: usize)
pub fn set_decimal_digits(&mut self, dec_digits_param: usize)
pub fn set_column_width(&mut self, width_param: usize)
pub fn set_column_width(&mut self, width_param: usize)
pub fn set_column_editable(&mut self, editable_param: bool)
pub fn set_column_editable(&mut self, editable_param: bool)
Auto Trait Implementations
impl RefUnwindSafe for ElemColumn
impl Send for ElemColumn
impl Sync for ElemColumn
impl Unpin for ElemColumn
impl UnwindSafe for ElemColumn
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