Enum mt_dom::AttValue [−][src]
pub enum AttValue<VAL, EVENT> where
VAL: PartialEq + Clone + Debug,
EVENT: PartialEq + Clone + Debug, {
Plain(VAL),
Event(EVENT),
}
Expand description
Attribute Value which can be a plain attribute or a callback
Variants
Plain value
An event listener attribute
Implementations
Trait Implementations
Auto Trait Implementations
impl<VAL, EVENT> RefUnwindSafe for AttValue<VAL, EVENT> where
EVENT: RefUnwindSafe,
VAL: RefUnwindSafe,
impl<VAL, EVENT> UnwindSafe for AttValue<VAL, EVENT> where
EVENT: UnwindSafe,
VAL: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more