pub struct RenderOptions {
pub width: usize,
pub theme: Theme,
pub mode: RenderMode,
pub summary: SummaryStyle,
pub tree_style: TreeStyle,
}Expand description
Options controlling pretty-plan rendering.
Fields§
§width: usize§theme: Theme§mode: RenderMode§summary: SummaryStyle§tree_style: TreeStyleImplementations§
Source§impl RenderOptions
impl RenderOptions
pub fn new(width: usize) -> Self
pub fn with_theme(self, theme: Theme) -> Self
pub fn with_mode(self, mode: RenderMode) -> Self
pub fn with_summary(self, summary: SummaryStyle) -> Self
pub fn with_tree_style(self, tree_style: TreeStyle) -> Self
Trait Implementations§
Source§impl Clone for RenderOptions
impl Clone for RenderOptions
impl Copy for RenderOptions
Source§impl Debug for RenderOptions
impl Debug for RenderOptions
Auto Trait Implementations§
impl Forget for RenderOptions
impl Freeze for RenderOptions
impl Move for RenderOptions
impl RefUnwindSafe for RenderOptions
impl Send for RenderOptions
impl Sync for RenderOptions
impl Unpin for RenderOptions
impl UnsafeUnpin for RenderOptions
impl UnwindSafe for RenderOptions
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