pub struct BoxModel {
pub width: usize,
pub lines: Vec<String>,
}Expand description
A box model for aligned output.
Fields§
§width: usizeWidth of this box
lines: Vec<String>Lines of content
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoxModel
impl RefUnwindSafe for BoxModel
impl Send for BoxModel
impl Sync for BoxModel
impl Unpin for BoxModel
impl UnsafeUnpin for BoxModel
impl UnwindSafe for BoxModel
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