pub enum Reflect<'a> {
Indirect(&'a dyn ReflectIndirect),
Direct(&'a dyn ReflectDirect),
}
Expand description
An arbitrar between the two possible way to climb into an immutable value.
Variants§
Indirect(&'a dyn ReflectIndirect)
Direct(&'a dyn ReflectDirect)
Auto Trait Implementations§
impl<'a> Freeze for Reflect<'a>
impl<'a> !RefUnwindSafe for Reflect<'a>
impl<'a> !Send for Reflect<'a>
impl<'a> !Sync for Reflect<'a>
impl<'a> Unpin for Reflect<'a>
impl<'a> !UnwindSafe for Reflect<'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