pub struct ColumnLayout {
pub index: usize,
pub resolved_width: usize,
pub truncated: bool,
}Expand description
Resolved layout for a single column — the output of the layout phase.
Fields§
§index: usizeZero-based column index.
resolved_width: usizeFinal resolved display width in terminal columns.
truncated: boolTrue when the column was shrunk below its ideal width.
Trait Implementations§
Source§impl Clone for ColumnLayout
impl Clone for ColumnLayout
Source§fn clone(&self) -> ColumnLayout
fn clone(&self) -> ColumnLayout
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 moreAuto Trait Implementations§
impl Freeze for ColumnLayout
impl RefUnwindSafe for ColumnLayout
impl Send for ColumnLayout
impl Sync for ColumnLayout
impl Unpin for ColumnLayout
impl UnsafeUnpin for ColumnLayout
impl UnwindSafe for ColumnLayout
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