macro_rules! new_xarray {
($kind:expr $(, $name:literal)? $(,)?) => { ... };
}Expand description
Creates a XArray initialiser with the given name and a newly-created lock class.
It uses the name if one is given, otherwise it generates one based on the file name and line number.