pub enum MergeMode {
ConsumeData,
MatchTemplate,
}Expand description
XFA Spec 3.3 §4.4 p176 — Merge mode controlling how data is bound to template.
ConsumeData(default): walk the template tree top-down, binding each node against the current data context positionally (by name within context).MatchTemplate: data drives the merge — for each data node, find the template node by name match regardless of hierarchy depth.
Variants§
ConsumeData
XFA §4.4 p176 — template-driven merge (default).
MatchTemplate
XFA §4.4 p176 — data-driven merge: match data nodes to template by name.
Trait Implementations§
impl Copy for MergeMode
impl Eq for MergeMode
impl StructuralPartialEq for MergeMode
Auto Trait Implementations§
impl Freeze for MergeMode
impl RefUnwindSafe for MergeMode
impl Send for MergeMode
impl Sync for MergeMode
impl Unpin for MergeMode
impl UnsafeUnpin for MergeMode
impl UnwindSafe for MergeMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more