pub struct PrintOptions {
pub line_markers: bool,
}Expand description
What -E was asked for.
Fields§
§line_markers: boolWhether to write line markers, which -P turns off.
With them off the blank line padding goes too, because the point of -P is output for
something other than a compiler to read.
Implementations§
Source§impl PrintOptions
impl PrintOptions
Sourcepub fn new() -> PrintOptions
pub fn new() -> PrintOptions
The default, which is what plain -E asks for.
Trait Implementations§
Source§impl Clone for PrintOptions
impl Clone for PrintOptions
Source§fn clone(&self) -> PrintOptions
fn clone(&self) -> PrintOptions
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 moreimpl Copy for PrintOptions
Source§impl Debug for PrintOptions
impl Debug for PrintOptions
Source§impl Default for PrintOptions
impl Default for PrintOptions
Source§fn default() -> PrintOptions
fn default() -> PrintOptions
Returns the “default value” for a type. Read more
impl Eq for PrintOptions
Source§impl PartialEq for PrintOptions
impl PartialEq for PrintOptions
impl StructuralPartialEq for PrintOptions
Auto Trait Implementations§
impl Freeze for PrintOptions
impl RefUnwindSafe for PrintOptions
impl Send for PrintOptions
impl Sync for PrintOptions
impl Unpin for PrintOptions
impl UnsafeUnpin for PrintOptions
impl UnwindSafe for PrintOptions
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