/// Returns the root [PdfBookmark] in the containing [PdfDocument], if any.
Returns the root [PdfBookmark] in the containing [PdfDocument], if any.
Returns the root [ PdfBookmark ] in the containing [ PdfDocument ] if any .
pub fn root(&self) -> Option<PdfBookmark> {
        let handle = self
            .bindings
            .FPDFBookmark_GetFirstChild(*self.document.get_handle(), null_mut());
        if handle.is_null() {
            None
        } else {
            Some(PdfBookmark::from_pdfium(
                handle,
                None,
                self.document,
                self.bindings,
            ))
        }
    }
pub fn root ( & self ) -> Option < PdfBookmark > { let handle = self . bindings . FPDFBookmark_GetFirstChild ( * self . document . get_handle ( ) , null_mut ( ) ) ; if handle . is_null ( ) { None } else { Some ( PdfBookmark :: from_pdfium ( handle , None , self . document , self . bindings , ) ) } }
Returns the root [PdfBookmark] in the containing [PdfDocument], if any.
Returns the root [ PdfBookmark ] in the containing [ PdfDocument ] if any .
&self