pub enum MarkupAttributeValue {
Null,
Bool(bool),
Int(i64),
Float(f64),
Str(&'static str),
Type(TypeOf),
Array(&'static [MarkupAttributeValue]),
}Expand description
A constant argument of a MarkupAttribute.
Variants§
Null
Bool(bool)
Int(i64)
Float(f64)
Str(&'static str)
Type(TypeOf)
Array(&'static [MarkupAttributeValue])
An array argument (new[] { ",", " " } of the managed original).
Trait Implementations§
Source§impl Clone for MarkupAttributeValue
impl Clone for MarkupAttributeValue
impl Copy for MarkupAttributeValue
Source§impl Debug for MarkupAttributeValue
impl Debug for MarkupAttributeValue
Auto Trait Implementations§
impl Freeze for MarkupAttributeValue
impl RefUnwindSafe for MarkupAttributeValue
impl Send for MarkupAttributeValue
impl Sync for MarkupAttributeValue
impl Unpin for MarkupAttributeValue
impl UnsafeUnpin for MarkupAttributeValue
impl UnwindSafe for MarkupAttributeValue
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more