nu_test_support

Macro nu_with_std

Source
macro_rules! nu_with_std {
    (
        @options [ $($options:tt)* ]
        cwd: $value:expr,
        $($rest:tt)*
    ) => { ... };
    (
        @options [ $($options:tt)* ]
        $field:ident : $value:expr,
        $($rest:tt)*
    ) => { ... };
    (
        @options [ $($options:tt)* ]
        $path:expr
        $(, $part:expr)*
        $(,)*
    ) => { ... };
    (@nu_opts $( $field:ident => $value:expr ; )*) => { ... };
    (@format_path $path:expr $(,)?) => { ... };
    (@format_path $path:expr, $($part:expr),* $(,)?) => { ... };
    (@main $opts:expr, $path:expr) => { ... };
    ($($token:tt)*) => { ... };
}