#[non_exhaustive]pub struct PageAnchor {
pub page_refs: Vec<PageRef>,
/* private fields */
}Expand description
Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.page_refs: Vec<PageRef>One or more references to visual page elements
Implementations§
Source§impl PageAnchor
impl PageAnchor
pub fn new() -> Self
Sourcepub fn set_page_refs<T, V>(self, v: T) -> Self
pub fn set_page_refs<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for PageAnchor
impl Clone for PageAnchor
Source§fn clone(&self) -> PageAnchor
fn clone(&self) -> PageAnchor
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 moreSource§impl Debug for PageAnchor
impl Debug for PageAnchor
Source§impl Default for PageAnchor
impl Default for PageAnchor
Source§fn default() -> PageAnchor
fn default() -> PageAnchor
Returns the “default value” for a type. Read more
Source§impl PartialEq for PageAnchor
impl PartialEq for PageAnchor
impl StructuralPartialEq for PageAnchor
Auto Trait Implementations§
impl Freeze for PageAnchor
impl RefUnwindSafe for PageAnchor
impl Send for PageAnchor
impl Sync for PageAnchor
impl Unpin for PageAnchor
impl UnsafeUnpin for PageAnchor
impl UnwindSafe for PageAnchor
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