pub trait List: Reflect + Array {
fn push(&mut self, value: Box<dyn Reflect + 'static, Global>);
fn clone_dynamic(&self) -> DynamicList { ... }
}
Expand description
An ordered, mutable list of Reflect items. This corresponds to types like std::vec::Vec
.
This is a sub-trait of Array
as it implements a push
function, allowing
it’s internal size to grow.
Required Methods
Provided Methods
fn clone_dynamic(&self) -> DynamicList
fn clone_dynamic(&self) -> DynamicList
Clones the list, producing a DynamicList
.