pub struct PageStructure {
pub elements: Vec<StructElement>,
}Expand description
Structure elements filtered for a specific page.
Fields§
§elements: Vec<StructElement>Structure elements that reference this page.
Implementations§
Source§impl PageStructure
impl PageStructure
Sourcepub fn for_page(tree: &StructTree, page_id: ObjectId) -> Self
pub fn for_page(tree: &StructTree, page_id: ObjectId) -> Self
Filter the structure tree to elements referencing the given page.
Trait Implementations§
Source§impl Clone for PageStructure
impl Clone for PageStructure
Source§fn clone(&self) -> PageStructure
fn clone(&self) -> PageStructure
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PageStructure
impl RefUnwindSafe for PageStructure
impl Send for PageStructure
impl Sync for PageStructure
impl Unpin for PageStructure
impl UnsafeUnpin for PageStructure
impl UnwindSafe for PageStructure
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