pub struct OutlineItem {
pub id: Option<ObjId>,
pub title: String,
pub dest: Option<Object>,
pub action: Option<Dict>,
pub open: bool,
pub children: Vec<OutlineItem>,
pub extra: Dict,
}Expand description
One outline (bookmark) item.
Fields§
§id: Option<ObjId>The item’s id.
title: String/Title, decoded.
dest: Option<Object>/Dest, resolved one level, if present.
action: Option<Dict>/A, the action, resolved one level, if present.
open: boolWhether the item starts open (/Count positive).
children: Vec<OutlineItem>Child items, in order.
extra: DictOther entries of the item (/C colour, /F style, /SE), kept so
rewriting the outline preserves them.
Trait Implementations§
Source§impl Clone for OutlineItem
impl Clone for OutlineItem
Source§fn clone(&self) -> OutlineItem
fn clone(&self) -> OutlineItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutlineItem
impl Debug for OutlineItem
Source§impl PartialEq for OutlineItem
impl PartialEq for OutlineItem
impl StructuralPartialEq for OutlineItem
Auto Trait Implementations§
impl Freeze for OutlineItem
impl RefUnwindSafe for OutlineItem
impl Send for OutlineItem
impl Sync for OutlineItem
impl Unpin for OutlineItem
impl UnsafeUnpin for OutlineItem
impl UnwindSafe for OutlineItem
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