rlmesh::spaces::DictSpaces
A Dict's children: an ordered, read-only map.
struct DictSpacesMethods
keys
method[source]fn keys(&self) -> DictKeys<'_>The keys, in declaration order.
values
method[source]fn values(&self) -> DictValues<'_>The child spaces, in declaration order.
items
method[source]fn items(&self) -> DictItems<'_>The (key, space) pairs, in declaration order.
iter
method[source]fn iter(&self) -> DictKeys<'_>The keys.
get
method[source]fn get(&self, key: &str) -> Option<&Space>The child space at key, or None.
len
method[source]fn len(&self) -> usizeThe number of children.
contains_key
method[source]fn contains_key(&self, key: &str) -> boolWhether key names a child.
Trait implementations
- impl Index<&str> for DictSpaces
- impl<'a> IntoIterator for &'a DictSpaces