Macro extendr_api::prelude::modules::core::row
macro_rules! row { () => { ... }; ($($v:expr),+ $(,)?) => { ... }; }
Expand description
Creates a row::Row
containing the arguments.
use faer::row;
let row_vec = row![3.0, 5.0, 7.0, 9.0];
assert_eq!(row_vec.read(0), 3.0);
assert_eq!(row_vec.read(1), 5.0);
assert_eq!(row_vec.read(2), 7.0);
assert_eq!(row_vec.read(3), 9.0);