fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self {
        let value: Vec<Node> = iter.into_iter().map(Into::into).collect();
        let span = match value.len() {
            0 => Span::new_blank(),
            1 => *value[0].span(),
            _ => Span {
                start: value[0].span().start,
                end: value[value.len() - 1].span().end,
            },
        };
        Self { span, value }
    }
/// Allow collecting things into a sequence node
///
/// ```
/// # use marked_yaml::types::*;
/// let node: MarkedSequenceNode = vec!["hello", "world"].into_iter().collect();
/// ```
Allow collecting things into a sequence node
```
Allow collecting things into a sequence node ` ` `
fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self {
        let value: Vec<Node> = iter.into_iter().map(Into::into).collect();
        let span = match value.len() {
            0 => Span::new_blank(),
            1 => *value[0].span(),
            _ => Span {
                start: value[0].span().start,
                end: value[value.len() - 1].span().end,
            },
        };
        Self { span, value }
    }
fn from_iter < I : IntoIterator < Item = T > > ( iter : I ) -> Self { let value : Vec < Node > = iter . into_iter ( ) . map ( Into :: into ) . collect ( ) ; let span = match value . len ( ) { 0 => Span :: new_blank ( ) , 1 => * value [ 0 ] . span ( ) , _ => Span { start : value [ 0 ] . span ( ) . start , end : value [ value . len ( ) - 1 ] . span ( ) . end , } , } ; Self { span , value } }
Allow collecting things into a sequence node
```
Allow collecting things into a sequence node ` ` `
iter
I
iter
I
use marked_yaml::types::*;
let node: MarkedSequenceNode = vec!["hello", "world"].into_iter().collect();
```
let node : MarkedSequenceNode = vec! [ " hello " " world " ] . into_iter () . collect () ; ` ` `