pub struct TreeMap { /* private fields */ }Expand description
TreeMap visualization component
Implementations§
Trait Implementations§
Source§impl DashboardComponent for TreeMap
impl DashboardComponent for TreeMap
Source§fn render(
&self,
_page: &mut Page,
_position: ComponentPosition,
_theme: &DashboardTheme,
) -> Result<(), PdfError>
fn render( &self, _page: &mut Page, _position: ComponentPosition, _theme: &DashboardTheme, ) -> Result<(), PdfError>
Render the component to a PDF page at the specified position
Source§fn get_span(&self) -> ComponentSpan
fn get_span(&self) -> ComponentSpan
Get the column span for this component (1-12)
Source§fn set_span(&mut self, span: ComponentSpan)
fn set_span(&mut self, span: ComponentSpan)
Set the column span for this component
Source§fn preferred_height(&self, _available_width: f64) -> f64
fn preferred_height(&self, _available_width: f64) -> f64
Get the preferred height for this component in points
Source§fn component_type(&self) -> &'static str
fn component_type(&self) -> &'static str
Get component type name for debugging
Source§fn complexity_score(&self) -> u8
fn complexity_score(&self) -> u8
Get complexity score (0-100)
Source§fn minimum_width(&self) -> f64
fn minimum_width(&self) -> f64
Get the minimum width required for this component
Source§fn estimated_render_time_ms(&self) -> u32
fn estimated_render_time_ms(&self) -> u32
Estimate rendering time in milliseconds
Source§fn estimated_memory_mb(&self) -> f64
fn estimated_memory_mb(&self) -> f64
Estimate memory usage in MB
Auto Trait Implementations§
impl Freeze for TreeMap
impl RefUnwindSafe for TreeMap
impl Send for TreeMap
impl Sync for TreeMap
impl Unpin for TreeMap
impl UnwindSafe for TreeMap
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