Trait argonaut::CollectionTarget [] [src]

pub trait CollectionTarget: Debug {
    fn parse_and_add(&mut self, value: &str) -> Result<(), String>;
}

Allows a collection to be extended with values read from arguments.

Required Methods

Parses the value and adds it to this collection.

Implementations on Foreign Types

impl<T> CollectionTarget for Vec<T> where
    T: Debug + FromStr
[src]

[src]

impl<T> CollectionTarget for BinaryHeap<T> where
    T: Debug + FromStr + Ord
[src]

[src]

impl<T> CollectionTarget for BTreeSet<T> where
    T: Debug + FromStr + Ord
[src]

[src]

impl<T> CollectionTarget for HashSet<T> where
    T: Debug + FromStr + Hash + Eq
[src]

[src]

impl<T> CollectionTarget for LinkedList<T> where
    T: Debug + FromStr
[src]

[src]

impl<T> CollectionTarget for VecDeque<T> where
    T: Debug + FromStr
[src]

[src]

Implementors