pub struct Path(/* private fields */);Implementations§
Source§impl Path
impl Path
pub fn new() -> Self
pub fn descend(&self, field: &str) -> Self
pub fn ascend(&self) -> Option<(Self, Key)>
pub fn get<'a>(&self, value: &'a dyn MetaValue) -> Option<&'a dyn MetaValue>
pub fn get_typed<'a, Type: MetaValue>( &self, value: &'a dyn MetaValue, ) -> Option<&'a Type>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Path
impl RefUnwindSafe for Path
impl Send for Path
impl Sync for Path
impl Unpin for Path
impl UnsafeUnpin for Path
impl UnwindSafe for Path
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