pub struct Query<'a> { /* private fields */ }Expand description
A query into some YAML document.
Internally, a query is one or more “component” selectors, each of which is either a mapping key or list index to descend through.
For example, with the following YAML document:
foo:
bar:
baz:
- [a, b, c]
- [d, e, f]The sub-list member e would be identified via the path
foo, bar, baz, 1, 1.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Query<'a>
impl<'a> RefUnwindSafe for Query<'a>
impl<'a> Send for Query<'a>
impl<'a> Sync for Query<'a>
impl<'a> Unpin for Query<'a>
impl<'a> UnwindSafe for Query<'a>
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