pub enum LookupKey {
Wildcard,
Name(String),
Integer(i64),
Expr(Box<Expr>),
}Expand description
The key selector of an XPath 3.1 lookup expression (?K).
Variants§
Wildcard
?* — all values of the map / all members of the array.
Name(String)
?name — the entry whose key is the string name.
Integer(i64)
?123 — integer key (map) or 1-based position (array).
Expr(Box<Expr>)
?(expr) — the key(s) computed by the parenthesised expression.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LookupKey
impl RefUnwindSafe for LookupKey
impl Send for LookupKey
impl Sync for LookupKey
impl Unpin for LookupKey
impl UnsafeUnpin for LookupKey
impl UnwindSafe for LookupKey
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