pub enum MarkedContentProps {
Inline(HashMap<String, MarkedContentValue>),
ResourceRef(String),
}Expand description
Properties operand of a BDC/DP operator. Two shapes per ISO 32000-1 §14.6.2:
- Inline: the second BDC operand is an inline dictionary literal
(
<< /MCID 0 /ActualText (fi) >>). Keys map toMarkedContentValue. - ResourceRef: the second BDC operand is a name (
/PropsName) that references the page’s/Resources /Properties /<name>dictionary. Resolution against the page’s resource tree happens in the extractor (parser does not have access to the page object).
Variants§
Trait Implementations§
Source§impl Clone for MarkedContentProps
impl Clone for MarkedContentProps
Source§fn clone(&self) -> MarkedContentProps
fn clone(&self) -> MarkedContentProps
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 moreSource§impl Debug for MarkedContentProps
impl Debug for MarkedContentProps
Source§impl PartialEq for MarkedContentProps
impl PartialEq for MarkedContentProps
Source§fn eq(&self, other: &MarkedContentProps) -> bool
fn eq(&self, other: &MarkedContentProps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MarkedContentProps
Auto Trait Implementations§
impl Freeze for MarkedContentProps
impl RefUnwindSafe for MarkedContentProps
impl Send for MarkedContentProps
impl Sync for MarkedContentProps
impl Unpin for MarkedContentProps
impl UnsafeUnpin for MarkedContentProps
impl UnwindSafe for MarkedContentProps
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