pub struct DocCatalogNode { /* private fields */ }Expand description
Recursive filesystem-mirrored catalog tree node powering the left documentation sidebar.
Implementations§
Source§impl DocCatalogNode
Tree traversal and lookup utilities for DocCatalogNode.
impl DocCatalogNode
Tree traversal and lookup utilities for DocCatalogNode.
Sourcepub fn contains_route(&self, target_route: &str) -> bool
pub fn contains_route(&self, target_route: &str) -> bool
Sourcepub fn click_target_route(&self) -> Option<&str>
pub fn click_target_route(&self) -> Option<&str>
Sourcepub fn find_by_route_or_key(&self, route: &str) -> Option<&Self>
pub fn find_by_route_or_key(&self, route: &str) -> Option<&Self>
Source§impl DocCatalogNode
impl DocCatalogNode
pub fn get_key(&self) -> &String
pub fn get_mut_key(&mut self) -> &mut String
pub fn set_key(&mut self, val: String) -> &mut Self
pub fn get_title(&self) -> &String
pub fn get_mut_title(&mut self) -> &mut String
pub fn set_title(&mut self, val: String) -> &mut Self
pub fn get_route(&self) -> String
pub fn try_get_route(&self) -> &Option<String>
pub fn get_mut_route(&mut self) -> &mut Option<String>
pub fn set_route(&mut self, val: Option<String>) -> &mut Self
pub fn get_first_child_route(&self) -> String
pub fn try_get_first_child_route(&self) -> &Option<String>
pub fn get_mut_first_child_route(&mut self) -> &mut Option<String>
pub fn set_first_child_route(&mut self, val: Option<String>) -> &mut Self
pub fn get_is_dir(&self) -> bool
pub fn get_mut_is_dir(&mut self) -> &mut bool
pub fn set_is_dir(&mut self, val: bool) -> &mut Self
pub fn get_index_disabled(&self) -> bool
pub fn get_mut_index_disabled(&mut self) -> &mut bool
pub fn set_index_disabled(&mut self, val: bool) -> &mut Self
pub fn get_has_own_content(&self) -> bool
pub fn get_mut_has_own_content(&mut self) -> &mut bool
pub fn set_has_own_content(&mut self, val: bool) -> &mut Self
pub fn get_expanded_pref(&self) -> Option<bool>
pub fn try_get_expanded_pref(&self) -> Option<bool>
pub fn get_mut_expanded_pref(&mut self) -> &mut Option<bool>
pub fn set_expanded_pref(&mut self, val: Option<bool>) -> &mut Self
pub fn get_collapsible(&self) -> bool
pub fn get_mut_collapsible(&mut self) -> &mut bool
pub fn set_collapsible(&mut self, val: bool) -> &mut Self
pub fn get_order(&self) -> i32
pub fn get_mut_order(&mut self) -> &mut i32
pub fn set_order(&mut self, val: i32) -> &mut Self
pub fn get_locked(&self) -> bool
pub fn get_mut_locked(&mut self) -> &mut bool
pub fn set_locked(&mut self, val: bool) -> &mut Self
pub fn get_children(&self) -> &Vec<DocCatalogNode>
pub fn get_mut_children(&mut self) -> &mut Vec<DocCatalogNode>
pub fn set_children(&mut self, val: Vec<DocCatalogNode>) -> &mut Self
Trait Implementations§
Source§impl Clone for DocCatalogNode
impl Clone for DocCatalogNode
Source§impl Debug for DocCatalogNode
impl Debug for DocCatalogNode
Source§impl Default for DocCatalogNode
impl Default for DocCatalogNode
Source§impl<'de> Deserialize<'de> for DocCatalogNode
impl<'de> Deserialize<'de> for DocCatalogNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DocCatalogNode
impl PartialEq for DocCatalogNode
Source§impl Serialize for DocCatalogNode
impl Serialize for DocCatalogNode
impl StructuralPartialEq for DocCatalogNode
Auto Trait Implementations§
impl Forget for DocCatalogNode
impl Freeze for DocCatalogNode
impl Move for DocCatalogNode
impl RefUnwindSafe for DocCatalogNode
impl Send for DocCatalogNodewhere
RawVecInner: Send,
impl Sync for DocCatalogNodewhere
RawVecInner: Sync,
impl Unpin for DocCatalogNode
impl UnsafeUnpin for DocCatalogNodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DocCatalogNode>: UnsafeUnpin,
impl UnwindSafe for DocCatalogNodewhere
RawVecInner: UnwindSafe,
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