//! Get hierarchy method for CollapseState.
usecrate::widgets::markdown_widget::state::CollapseState;implCollapseState{/// Get the hierarchy information for a section.
////// # Arguments
////// * `section_id` - The section ID to look up
////// # Returns
////// `Some((level, parent_id))` if the section exists, `None` otherwise.
pubfnget_hierarchy(&self, section_id:usize)->Option<(u8, Option<usize>)>{self.hierarchy.get(§ion_id).copied()}}