pub struct ExprPrinter { /* private fields */ }Expand description
Pretty printer for kernel expressions.
Implementations§
Source§impl ExprPrinter
impl ExprPrinter
Sourcepub fn with_config(config: PrintConfig) -> Self
pub fn with_config(config: PrintConfig) -> Self
Create a printer with a specific configuration.
Sourcepub fn with_unicode(self, unicode: bool) -> Self
pub fn with_unicode(self, unicode: bool) -> Self
Set whether to use unicode symbols.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExprPrinter
impl RefUnwindSafe for ExprPrinter
impl Send for ExprPrinter
impl Sync for ExprPrinter
impl Unpin for ExprPrinter
impl UnsafeUnpin for ExprPrinter
impl UnwindSafe for ExprPrinter
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