snapboxMacro str
Source macro_rules! str {
[$data:literal] => { ... };
[[$data:literal]] => { ... };
[] => { ... };
[[]] => { ... };
}
Expand description
Declare an expected value from within Rust source
Output type: Inline
, see IntoData
for operations
str![["
Foo { value: 92 }
"]];
str![r#"{"Foo": 92}"#];