struct MaxWidths {
inline: Columns,
block: Columns,
}
Expand description
Maximum numbers of columns, available to a Node
, for both inline layout
and block layout (i.e. multi-line with indentation).
That is, these are the best-case scenarios across all possible choices of inline vs block for all surrounding nodes (up to the root) that admit both cases, and those choices will be made inside-out based on actual widths.
Fields§
§inline: Columns
§block: Columns
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MaxWidths
impl Send for MaxWidths
impl Sync for MaxWidths
impl Unpin for MaxWidths
impl UnwindSafe for MaxWidths
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