macro_rules! stylex_panic {
() => { ... };
($($arg:tt)+) => { ... };
}Expand description
Like panic!() but produces [StyleX] <message>.
Usage:
ⓘ
stylex_panic!();
stylex_panic!("border is not supported");
stylex_panic!("Invalid value: {}", val);