Function bevy_macro_utils::get_lit_str
source · pub fn get_lit_str(attr_name: Symbol, value: &Expr) -> Result<&LitStr>Expand description
Get a literal string from the provided expression.
pub fn get_lit_str(attr_name: Symbol, value: &Expr) -> Result<&LitStr>Get a literal string from the provided expression.