pub struct ReflectMapMut<'a> { /* private fields */ }
Expand description
Dynamic mutable reference to map
field
Implementations§
Source§impl<'a> ReflectMapMut<'a>
impl<'a> ReflectMapMut<'a>
Sourcepub fn key_type(&self) -> RuntimeType
pub fn key_type(&self) -> RuntimeType
Map key type
Sourcepub fn value_type(&self) -> RuntimeType
pub fn value_type(&self) -> RuntimeType
Map value type
Sourcepub fn get(&self, key: ReflectValueRef<'_>) -> Option<ReflectValueRef<'_>>
pub fn get(&self, key: ReflectValueRef<'_>) -> Option<ReflectValueRef<'_>>
Find a value for given key
Sourcepub fn insert(&mut self, key: ReflectValueBox, value: ReflectValueBox)
pub fn insert(&mut self, key: ReflectValueBox, value: ReflectValueBox)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ReflectMapMut<'a>
impl<'a> !RefUnwindSafe for ReflectMapMut<'a>
impl<'a> Send for ReflectMapMut<'a>
impl<'a> Sync for ReflectMapMut<'a>
impl<'a> Unpin for ReflectMapMut<'a>
impl<'a> !UnwindSafe for ReflectMapMut<'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