pub enum Accessor {
Key(String),
Index(usize),
Predicate(Predicate),
}Expand description
One step in a path.
Variants§
Key(String)
Address a map key. Drives map coercion.
Index(usize)
Address an array index. Drives array coercion.
Predicate(Predicate)
Select matching children. Branches the update across every match.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Accessor
impl !Send for Accessor
impl !Sync for Accessor
impl !UnwindSafe for Accessor
impl Freeze for Accessor
impl Unpin for Accessor
impl UnsafeUnpin for Accessor
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