pub struct ReflectRepeatedRef<'a> { /* private fields */ }
Expand description
Dynamic reference to repeated field
Implementations§
Source§impl<'a> ReflectRepeatedRef<'a>
impl<'a> ReflectRepeatedRef<'a>
Sourcepub fn get(&self, index: usize) -> ReflectValueRef<'a>
pub fn get(&self, index: usize) -> ReflectValueRef<'a>
Get item by index
Sourcepub fn element_type(&self) -> RuntimeType
pub fn element_type(&self) -> RuntimeType
Runtime type of element
Trait Implementations§
Source§impl<'a> Clone for ReflectRepeatedRef<'a>
impl<'a> Clone for ReflectRepeatedRef<'a>
Source§fn clone(&self) -> ReflectRepeatedRef<'a>
fn clone(&self) -> ReflectRepeatedRef<'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 ReflectRepeatedRef<'a>
impl<'a> Debug for ReflectRepeatedRef<'a>
Source§impl<'a> IntoIterator for &'a ReflectRepeatedRef<'a>
impl<'a> IntoIterator for &'a ReflectRepeatedRef<'a>
Source§impl<'a> IntoIterator for ReflectRepeatedRef<'a>
impl<'a> IntoIterator for ReflectRepeatedRef<'a>
Source§impl<'a> PartialEq<[ReflectValueBox]> for ReflectRepeatedRef<'a>
impl<'a> PartialEq<[ReflectValueBox]> for ReflectRepeatedRef<'a>
Source§impl<'a> PartialEq<ReflectRepeatedRef<'a>> for [ReflectValueBox]
impl<'a> PartialEq<ReflectRepeatedRef<'a>> for [ReflectValueBox]
Source§impl<'a> PartialEq<ReflectRepeatedRef<'a>> for ReflectRepeatedMut<'a>
impl<'a> PartialEq<ReflectRepeatedRef<'a>> for ReflectRepeatedMut<'a>
Source§impl<'a> PartialEq<ReflectRepeatedRef<'a>> for Vec<ReflectValueBox>
impl<'a> PartialEq<ReflectRepeatedRef<'a>> for Vec<ReflectValueBox>
Source§impl<'a> PartialEq<Vec<ReflectValueBox>> for ReflectRepeatedRef<'a>
impl<'a> PartialEq<Vec<ReflectValueBox>> for ReflectRepeatedRef<'a>
Source§impl<'a> PartialEq for ReflectRepeatedRef<'a>
impl<'a> PartialEq for ReflectRepeatedRef<'a>
Source§impl<'a> ReflectEq for ReflectRepeatedRef<'a>
impl<'a> ReflectEq for ReflectRepeatedRef<'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 ReflectRepeatedRef<'a>
impl<'a> !RefUnwindSafe for ReflectRepeatedRef<'a>
impl<'a> Send for ReflectRepeatedRef<'a>
impl<'a> Sync for ReflectRepeatedRef<'a>
impl<'a> Unpin for ReflectRepeatedRef<'a>
impl<'a> !UnwindSafe for ReflectRepeatedRef<'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