macro_rules! seq {
    ($($element:expr),* $(,)? ) => { ... };
}
Expand description

Creates a sequence with the specified elements.

Examples

use varlen::prelude::*;
let s: Seq<Str> = seq![Str::copy("hello"), Str::copy("world")];
let vec: Vec<&str> = s.iter().map(|s| &s[..]).collect();
assert_eq!(&vec[..], &["hello", "world"]);