[][src]Macro im_rc::vector

macro_rules! vector {
    () => { ... };
    ( $($x:expr),* ) => { ... };
    ( $($x:expr ,)* ) => { ... };
}

Construct a vector from a sequence of elements.

Examples

assert_eq!(
  vector![1, 2, 3],
  Vector::from(vec![1, 2, 3])
);