Trait Extend

Source
pub trait Extend<I: ?Sized> {
    // Required method
    fn extend(&mut self, iterable: I) -> Result<(), String>;
}
Expand description

Helper trait which allows to implement extend method.

Required Methods§

Source

fn extend(&mut self, iterable: I) -> Result<(), String>

Extends the program with some object depends to realization.

Implementors§

Source§

impl<S: Symbol, I> Extend<I> for Program<S>
where I: IntoIterator<Item = (usize, S, usize, S, Move)>,