pub struct PdfOutline { /* private fields */ }Implementations§
Source§impl PdfOutline
impl PdfOutline
pub fn new() -> Result<Self>
pub fn label(&self) -> Option<String>
pub fn set_label(&self, value: Option<&str>) -> Result<()>
pub fn child_count(&self) -> usize
pub fn child(&self, index: usize) -> Option<Self>
pub fn children(&self) -> Vec<Self>
pub fn insert_child(&self, child: &Self, index: usize) -> Result<()>
pub fn remove_from_parent(&self)
pub fn index(&self) -> usize
pub fn is_open(&self) -> bool
pub fn set_open(&self, value: bool)
pub fn destination(&self) -> Option<PdfDestination>
pub fn set_destination( &self, destination: Option<&PdfDestination>, ) -> Result<()>
pub fn action(&self) -> Option<PdfAction>
pub fn set_action<A: PdfActionLike>(&self, action: Option<&A>) -> Result<()>
pub fn clear_action(&self) -> Result<()>
pub fn action_url(&self) -> Option<PdfActionUrl>
pub fn set_action_url(&self, action: Option<&PdfActionUrl>) -> Result<()>
pub fn action_goto(&self) -> Option<PdfActionGoTo>
pub fn set_action_goto(&self, action: Option<&PdfActionGoTo>) -> Result<()>
pub fn parent(&self) -> Option<Self>
Trait Implementations§
Source§impl Clone for PdfOutline
impl Clone for PdfOutline
Source§fn clone(&self) -> PdfOutline
fn clone(&self) -> PdfOutline
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 moreAuto Trait Implementations§
impl Freeze for PdfOutline
impl RefUnwindSafe for PdfOutline
impl !Send for PdfOutline
impl !Sync for PdfOutline
impl Unpin for PdfOutline
impl UnsafeUnpin for PdfOutline
impl UnwindSafe for PdfOutline
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