fn try_any_at_path(
        &self,
        path: impl AsRef<[internals::PathComponent]>,
    ) -> Result<&dyn Any, FieldError> {
        self.get_field(path.as_ref())
            .map(internals::RawKeyable::as_any)
    }
//TODO: this is a bit of a mess, and I don't know what methods we will want
//or need. Having partial keypaths or keypaths that are failable seems reasonable,
//but I don't know what the types are going to look like yet.
/// Attempt to traverse a series of `PathComponent`s, returning an `&dyn Any`
/// if successful.
this is a bit of a mess, and I don't know what methods we will want
or need. Having partial keypaths or keypaths that are failable seems reasonable,
but I don't know what the types are going to look like yet.
Attempt to traverse a series of `PathComponent`s, returning an `&dyn Any`
if successful.
this is a bit of a mess and I don ' t know what methods we will want or need . Having partial keypaths or keypaths that are failable seems reasonable but I don ' t know what the types are going to look like yet . Attempt to traverse a series of ` PathComponent ` s returning an ` &dyn Any ` if successful .
fn try_any_at_path(
        &self,
        path: impl AsRef<[internals::PathComponent]>,
    ) -> Result<&dyn Any, FieldError> {
        self.get_field(path.as_ref())
            .map(internals::RawKeyable::as_any)
    }
fn try_any_at_path ( & self , path : impl AsRef < [ internals :: PathComponent ] > , ) -> Result < & dyn Any , FieldError > { self . get_field ( path . as_ref ( ) ) . map ( internals :: RawKeyable :: as_any ) }
TODO: this is a bit of a mess, and I don't know what methods we will want
or need.
TODO : this is a bit of a mess and I don ' t know what methods we will want or need .
&self
path
impl AsRef<[internals::PathComponent]>
&self
path
impl AsRef<[internals::PathComponent]>