pub fn find_all_by_title(&self, title: &str) -> Vec<PdfBookmark> {
        self.iter()
            .filter(|bookmark| match bookmark.title() {
                Some(bookmark_title) => bookmark_title == title,
                None => false,
            })
            .collect()
    }
/// Returns all [PdfBookmark] objects in the containing [PdfDocument] that have a title
/// matching the given string.
///
/// Note that bookmarks are not required to have unique titles, so in theory any number of
/// bookmarks could match a given title. This function returns all matches by performing
/// a complete breadth-first traversal of the entire bookmark tree. To return just the first
/// match, use [PdfBookmarks::find_first_by_title()].
Returns all [PdfBookmark] objects in the containing [PdfDocument] that have a title
matching the given string.

Note that bookmarks are not required to have unique titles, so in theory any number of
bookmarks could match a given title. This function returns all matches by performing
a complete breadth-first traversal of the entire bookmark tree. To return just the first
match, use [PdfBookmarks::find_first_by_title()].
Returns all [ PdfBookmark ] objects in the containing [ PdfDocument ] that have a title matching the given string . Note that bookmarks are not required to have unique titles so in theory any number of bookmarks could match a given title . This function returns all matches by performing a complete breadth - first traversal of the entire bookmark tree . To return just the first match use [ PdfBookmarks :: find_first_by_title () ] .
pub fn find_all_by_title(&self, title: &str) -> Vec<PdfBookmark> {
        self.iter()
            .filter(|bookmark| match bookmark.title() {
                Some(bookmark_title) => bookmark_title == title,
                None => false,
            })
            .collect()
    }
pub fn find_all_by_title ( & self , title : & str ) -> Vec < PdfBookmark > { self . iter ( ) . filter ( | bookmark | match bookmark . title ( ) { Some ( bookmark_title ) => bookmark_title == title , None => false , } ) . collect ( ) }
Returns all [PdfBookmark] objects in the containing [PdfDocument] that have a title
matching the given string.
Returns all [ PdfBookmark ] objects in the containing [ PdfDocument ] that have a title matching the given string .
&self
title
&str
&self
title
&str