☰
Trait Collection
Associated Types
Item
Required Methods
add
new
Implementations on Foreign Types
BTreeMap<K, V>
HashMap<K, V>
Vec<T>
Implementors
Other items in
pear
::
parsers
All crates
?
Trait
pear
::
parsers
::
Collection
[
−
]
[src]
pub trait Collection { type
Item
; fn
new
() -> Self;
fn
add
(&mut self, item: Self::
Item
); }
Associated Types
[src]
type
Item
Required methods
[src]
fn
new
() -> Self
[src]
fn
add
(&mut self, item: Self::
Item
)
Implementations on Foreign Types
[src]
impl<T>
Collection
for
Vec
<T>
type
Item
= T
[src]
fn
new
() -> Self
[src]
fn
add
(&mut self, item: Self::
Item
)
[src]
impl<K:
Eq
+
Hash
, V>
Collection
for
HashMap
<K, V>
type
Item
=
(
K, V
)
[src]
fn
new
() -> Self
[src]
fn
add
(&mut self, item: Self::
Item
)
[src]
impl<K:
Ord
, V>
Collection
for
BTreeMap
<K, V>
type
Item
=
(
K, V
)
[src]
fn
new
() -> Self
[src]
fn
add
(&mut self, item: Self::
Item
)
Implementors