Struct pdf::object::OutlineItem
source · pub struct OutlineItem {
pub title: Option<PdfString>,
pub prev: Option<Ref<OutlineItem>>,
pub next: Option<Ref<OutlineItem>>,
pub first: Option<Ref<OutlineItem>>,
pub last: Option<Ref<OutlineItem>>,
pub count: i32,
pub dest: Option<Primitive>,
pub action: Option<Action>,
pub se: Option<Dictionary>,
pub color: Option<Vec<f32>>,
pub flags: Option<i32>,
}
Fields§
§title: Option<PdfString>
§prev: Option<Ref<OutlineItem>>
§next: Option<Ref<OutlineItem>>
§first: Option<Ref<OutlineItem>>
§last: Option<Ref<OutlineItem>>
§count: i32
§dest: Option<Primitive>
§action: Option<Action>
§se: Option<Dictionary>
§color: Option<Vec<f32>>
§flags: Option<i32>
Trait Implementations§
source§impl Clone for OutlineItem
impl Clone for OutlineItem
source§fn clone(&self) -> OutlineItem
fn clone(&self) -> OutlineItem
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl DataSize for OutlineItem
impl DataSize for OutlineItem
source§const IS_DYNAMIC: bool = true
const IS_DYNAMIC: bool = true
If
true
, the type has a heap size that can vary at runtime, depending on the actual value.source§const STATIC_HEAP_SIZE: usize = 0usize
const STATIC_HEAP_SIZE: usize = 0usize
The amount of space a value of the type always occupies. If
IS_DYNAMIC
is false, this is
the total amount of heap memory occupied by the value. Otherwise this is a lower bound.source§fn estimate_heap_size(&self) -> usize
fn estimate_heap_size(&self) -> usize
Estimates the size of heap memory taken up by this value. Read more
source§impl Debug for OutlineItem
impl Debug for OutlineItem
source§impl FromDict for OutlineItem
impl FromDict for OutlineItem
source§impl Object for OutlineItem
impl Object for OutlineItem
Auto Trait Implementations§
impl RefUnwindSafe for OutlineItem
impl Send for OutlineItem
impl Sync for OutlineItem
impl Unpin 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