Trait bevy_reflect::List[][src]

pub trait List: Reflect {
    fn get(&self, index: usize) -> Option<&dyn Reflect>;
fn get_mut(&mut self, index: usize) -> Option<&mut dyn Reflect>;
fn push(&mut self, value: Box<dyn Reflect>);
fn len(&self) -> usize;
fn iter(&self) -> ListIter<'_>
Notable traits for ListIter<'a>
impl<'a> Iterator for ListIter<'a> type Item = &'a dyn Reflect;
; fn is_empty(&self) -> bool { ... }
fn clone_dynamic(&self) -> DynamicList { ... } }
Expand description

An ordered, mutable list of Reflect items. This corresponds to types like std::vec::Vec.

Required methods

Provided methods

Implementations on Foreign Types

Implementors