pub struct DependencyTreeDisplay { /* private fields */ }Expand description
Display configuration for dependency trees.
Implementations§
Source§impl DependencyTreeDisplay
impl DependencyTreeDisplay
Sourcepub fn new(mode: OutputMode, roots: Vec<DependencyNode>) -> Self
pub fn new(mode: OutputMode, roots: Vec<DependencyNode>) -> Self
Create a new dependency tree display.
Sourcepub fn theme(self, theme: FastApiTheme) -> Self
pub fn theme(self, theme: FastApiTheme) -> Self
Set the theme.
Sourcepub fn hide_cached(self) -> Self
pub fn hide_cached(self) -> Self
Hide cached markers.
Sourcepub fn hide_scopes(self) -> Self
pub fn hide_scopes(self) -> Self
Hide scope labels.
Sourcepub fn hide_notes(self) -> Self
pub fn hide_notes(self) -> Self
Hide notes.
Sourcepub fn with_cycle_path(self, path: Vec<String>) -> Self
pub fn with_cycle_path(self, path: Vec<String>) -> Self
Add a cycle path for summary output.
Trait Implementations§
Source§impl Clone for DependencyTreeDisplay
impl Clone for DependencyTreeDisplay
Auto Trait Implementations§
impl Forget for DependencyTreeDisplay
impl Freeze for DependencyTreeDisplay
impl Move for DependencyTreeDisplay
impl RefUnwindSafe for DependencyTreeDisplay
impl Send for DependencyTreeDisplay
impl Sync for DependencyTreeDisplay
impl Unpin for DependencyTreeDisplay
impl UnsafeUnpin for DependencyTreeDisplay
impl UnwindSafe for DependencyTreeDisplay
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