pub struct LetBinding {
pub name: String,
pub value: LetValue,
}Expand description
A <let name="..."> variable binding — either <let name="..." value="..."> (LetValue::Expr) or <let name="...">, with literal
XML content instead of a value attribute (LetValue::Literal,
issue #3). See plan/04-let-bindings.md for evaluation semantics
(schema/pattern-level <let> evaluate against the document root,
rule-level against the matched context node, per
crate::engine::evaluate).
Fields§
§name: String§value: LetValueTrait Implementations§
Source§impl Clone for LetBinding
impl Clone for LetBinding
Source§impl Debug for LetBinding
impl Debug for LetBinding
impl Eq for LetBinding
Source§impl PartialEq for LetBinding
impl PartialEq for LetBinding
impl StructuralPartialEq for LetBinding
Auto Trait Implementations§
impl Freeze for LetBinding
impl RefUnwindSafe for LetBinding
impl Send for LetBinding
impl Sync for LetBinding
impl Unpin for LetBinding
impl UnsafeUnpin for LetBinding
impl UnwindSafe for LetBinding
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