pub struct PrintConfig {
pub unicode: bool,
pub show_implicit: bool,
pub show_universes: bool,
pub max_width: usize,
pub show_binder_info: bool,
pub show_indices: bool,
}Expand description
Configuration for pretty printing.
Fields§
§unicode: boolUse unicode symbols (λ, ∀, →)
show_implicit: boolShow implicit arguments
show_universes: boolShow universe levels
max_width: usizeMaximum line width for wrapping
show_binder_info: boolShow binder info (default, implicit, etc.)
show_indices: boolShow de Bruijn indices
Implementations§
Trait Implementations§
Source§impl Clone for PrintConfig
impl Clone for PrintConfig
Source§fn clone(&self) -> PrintConfig
fn clone(&self) -> PrintConfig
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 moreSource§impl Debug for PrintConfig
impl Debug for PrintConfig
Auto Trait Implementations§
impl Freeze for PrintConfig
impl RefUnwindSafe for PrintConfig
impl Send for PrintConfig
impl Sync for PrintConfig
impl Unpin for PrintConfig
impl UnsafeUnpin for PrintConfig
impl UnwindSafe for PrintConfig
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