pub enum AttributeValue {
String(String),
Bool(bool),
Dynamic(Rc<dyn Fn() -> AttributeValue>),
Event(Rc<dyn Fn()>),
}Variants§
Trait Implementations§
Source§impl Clone for AttributeValue
impl Clone for AttributeValue
Source§fn clone(&self) -> AttributeValue
fn clone(&self) -> AttributeValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttributeValue
impl Debug for AttributeValue
Source§impl From<&str> for AttributeValue
impl From<&str> for AttributeValue
Source§impl From<Rc<dyn Fn() -> AttributeValue>> for AttributeValue
impl From<Rc<dyn Fn() -> AttributeValue>> for AttributeValue
Source§impl From<String> for AttributeValue
impl From<String> for AttributeValue
Auto Trait Implementations§
impl !RefUnwindSafe for AttributeValue
impl !Send for AttributeValue
impl !Sync for AttributeValue
impl !UnwindSafe for AttributeValue
impl Freeze for AttributeValue
impl Unpin for AttributeValue
impl UnsafeUnpin for AttributeValue
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