Enum derive_attr_parser::Val
source · pub enum Val {
Empty,
Str(String),
Map(HashMap<String, Val>),
}Expand description
Represent val of attr
#[fsm(test, trans(to="B"))]
parse into fsm{“test”:Val::Empty, “trans” : Val::Map(“to”: Val::Str(“B”)}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Val
impl Send for Val
impl Sync for Val
impl Unpin for Val
impl UnwindSafe for Val
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more