pub struct ReflectMapRef<'a> { /* private fields */ }
Expand description
Dynamic reference to map
field
Implementations§
Source§impl<'a> ReflectMapRef<'a>
impl<'a> ReflectMapRef<'a>
Sourcepub fn get(&self, key: ReflectValueRef<'_>) -> Option<ReflectValueRef<'_>>
pub fn get(&self, key: ReflectValueRef<'_>) -> Option<ReflectValueRef<'_>>
Find a value by given key.
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
Trait Implementations§
Source§impl<'a> Clone for ReflectMapRef<'a>
impl<'a> Clone for ReflectMapRef<'a>
Source§fn clone(&self) -> ReflectMapRef<'a>
fn clone(&self) -> ReflectMapRef<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for ReflectMapRef<'a>
impl<'a> Debug for ReflectMapRef<'a>
Source§impl<'a, 'b: 'a> IntoIterator for &'b ReflectMapRef<'a>
impl<'a, 'b: 'a> IntoIterator for &'b ReflectMapRef<'a>
Source§impl<'a> PartialEq for ReflectMapRef<'a>
impl<'a> PartialEq for ReflectMapRef<'a>
Source§impl<'a> ReflectEq for ReflectMapRef<'a>
impl<'a> ReflectEq for ReflectMapRef<'a>
Source§fn reflect_eq(&self, that: &Self, mode: &ReflectEqMode) -> bool
fn reflect_eq(&self, that: &Self, mode: &ReflectEqMode) -> bool
Perform the equality comparison.
Auto Trait Implementations§
impl<'a> Freeze for ReflectMapRef<'a>
impl<'a> !RefUnwindSafe for ReflectMapRef<'a>
impl<'a> Send for ReflectMapRef<'a>
impl<'a> Sync for ReflectMapRef<'a>
impl<'a> Unpin for ReflectMapRef<'a>
impl<'a> !UnwindSafe for ReflectMapRef<'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