[][src]Trait bevy_reflect::GetPath

pub trait GetPath {
    pub fn path<'r, 'p>(
        &'r self,
        path: &'p str
    ) -> Result<&'r dyn Reflect, ReflectPathError<'p>>;
pub fn path_mut<'r, 'p>(
        &'r mut self,
        path: &'p str
    ) -> Result<&'r mut dyn Reflect, ReflectPathError<'p>>; pub fn get_path<'r, 'p, T: Reflect>(
        &'r self,
        path: &'p str
    ) -> Result<&'r T, ReflectPathError<'p>> { ... }
pub fn get_path_mut<'r, 'p, T: Reflect>(
        &'r mut self,
        path: &'p str
    ) -> Result<&'r mut T, ReflectPathError<'p>> { ... } }

Required methods

pub fn path<'r, 'p>(
    &'r self,
    path: &'p str
) -> Result<&'r dyn Reflect, ReflectPathError<'p>>
[src]

pub fn path_mut<'r, 'p>(
    &'r mut self,
    path: &'p str
) -> Result<&'r mut dyn Reflect, ReflectPathError<'p>>
[src]

Loading content...

Provided methods

pub fn get_path<'r, 'p, T: Reflect>(
    &'r self,
    path: &'p str
) -> Result<&'r T, ReflectPathError<'p>>
[src]

pub fn get_path_mut<'r, 'p, T: Reflect>(
    &'r mut self,
    path: &'p str
) -> Result<&'r mut T, ReflectPathError<'p>>
[src]

Loading content...

Implementors

impl GetPath for dyn Reflect[src]

impl<T: Reflect> GetPath for T[src]

Loading content...