pub enum ReflectMut<'a> {
Indirect(&'a mut dyn ReflectIndirect),
Direct(&'a mut dyn ReflectDirect),
Immutable,
}
Expand description
An arbitrar between the two possible way to climb into a mutable value.
Variants§
Indirect(&'a mut dyn ReflectIndirect)
Direct(&'a mut dyn ReflectDirect)
Immutable
Internally signals that the value is not really mutable, for example we cannot change a reference value field from Interact context.
Auto Trait Implementations§
impl<'a> Freeze for ReflectMut<'a>
impl<'a> !RefUnwindSafe for ReflectMut<'a>
impl<'a> !Send for ReflectMut<'a>
impl<'a> !Sync for ReflectMut<'a>
impl<'a> Unpin for ReflectMut<'a>
impl<'a> !UnwindSafe for ReflectMut<'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