pub struct OutlineTree {
pub items: Vec<OutlineItem>,
}Expand description
Outline tree structure
Fields§
§items: Vec<OutlineItem>Root items
Implementations§
Source§impl OutlineTree
impl OutlineTree
Sourcepub fn add_item(&mut self, item: OutlineItem)
pub fn add_item(&mut self, item: OutlineItem)
Add root item
Sourcepub fn total_count(&self) -> i64
pub fn total_count(&self) -> i64
Get total item count
Sourcepub fn visible_count(&self) -> i64
pub fn visible_count(&self) -> i64
Get visible item count
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OutlineTree
impl RefUnwindSafe for OutlineTree
impl Send for OutlineTree
impl Sync for OutlineTree
impl Unpin for OutlineTree
impl UnwindSafe for OutlineTree
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