Function argdata::seq[][src]

pub fn seq<'d, T>(items: &'d T) -> Seq<'d, T> where
    T: Container,
    <T as Container>::Item: Argdata<'d>, 

Create an argdata value representing a sequence.

Note that the data can be (partially) borrowed or owned, depending on the type of container you provide.

See container_trait::Container.

Examples:

  • seq(vec![a, b, c])
  • seq(&[])
  • seq(Rc::new([int(1), int(2)])