pub struct Print {
pub text: Vec<String>,
pub n: bool,
pub l: bool,
}
Expand description
Struct describing a print invocation.
Fields§
§text: Vec<String>
The lines printed. Each string is a separate line.
n: bool
If true, would have printed with line numbers.
l: bool
If true, would have printed with literal escapes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Print
impl RefUnwindSafe for Print
impl Send for Print
impl Sync for Print
impl Unpin for Print
impl UnwindSafe for Print
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