Trait yareio_sys::EnumerateByID[][src]

pub trait EnumerateByID<ID: JsCast, V: JsCast>: GetByID<ID, V> {
    fn ids(&self) -> ArrayTypedIter<ID>
Notable traits for ArrayTypedIter<T>
impl<T: JsCast> Iterator for ArrayTypedIter<T> type Item = T;
{ ... }
fn values(&self) -> ArrayTypedIter<V>
Notable traits for ArrayTypedIter<T>
impl<T: JsCast> Iterator for ArrayTypedIter<T> type Item = T;
{ ... } }
Expand description

This trait is implemented for the global objects that give mappings of IDs to entities: spirits, bases, outposts, and stars. It allows iterating over entities by their ID.

Provided methods

Implementors