pub struct TableColumn {
pub header: String,
pub width: String,
}Fields§
§header: String§width: StringImplementations§
Source§impl TableColumn
impl TableColumn
pub fn new(header: String) -> TableColumn
pub fn width(self, width: String) -> TableColumn
Trait Implementations§
Source§impl Clone for TableColumn
impl Clone for TableColumn
Source§fn clone(&self) -> TableColumn
fn clone(&self) -> TableColumn
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TableColumn
impl Debug for TableColumn
Source§impl Default for TableColumn
impl Default for TableColumn
Source§fn default() -> TableColumn
fn default() -> TableColumn
Returns the “default value” for a type. Read more
Source§impl Hash for TableColumn
impl Hash for TableColumn
Source§impl PartialEq for TableColumn
impl PartialEq for TableColumn
impl Eq for TableColumn
impl StructuralPartialEq for TableColumn
Auto Trait Implementations§
impl Freeze for TableColumn
impl RefUnwindSafe for TableColumn
impl Send for TableColumn
impl Sync for TableColumn
impl Unpin for TableColumn
impl UnwindSafe for TableColumn
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more