Skip to main content

assert_width

Macro assert_width 

Source
macro_rules! assert_width {
    ($table:expr, $expected:expr) => { ... };
}
Expand description

Assert a given table width.

ยงExample

assert_width!(Table::new([[1, 2, 3], [4, 5, 6]]), 10);