pub struct TextColumn {
pub key: String,
pub format: String,
pub style: Style,
}Expand description
Displays a formatted text field. The text is taken from task.fields["key"]
and formatted with the given format string.
Fields§
§key: StringKey into the task’s fields HashMap.
format: StringFormat string (e.g. “{:>10}”).
style: StyleStyle for the text.
Implementations§
Source§impl TextColumn
impl TextColumn
Trait Implementations§
Source§impl Clone for TextColumn
impl Clone for TextColumn
Source§fn clone(&self) -> TextColumn
fn clone(&self) -> TextColumn
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TextColumn
impl Debug for TextColumn
Auto Trait Implementations§
impl Freeze for TextColumn
impl RefUnwindSafe for TextColumn
impl Send for TextColumn
impl Sync for TextColumn
impl Unpin for TextColumn
impl UnsafeUnpin for TextColumn
impl UnwindSafe for TextColumn
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