pub enum Property<'a> {
Boolean(&'a str, &'a str, &'a str, bool, PropertyMutability),
Int(&'a str, &'a str, &'a str, (i32, i32), i32, PropertyMutability),
Int64(&'a str, &'a str, &'a str, (i64, i64), i64, PropertyMutability),
UInt(&'a str, &'a str, &'a str, (u32, u32), u32, PropertyMutability),
UInt64(&'a str, &'a str, &'a str, (u64, u64), u64, PropertyMutability),
Float(&'a str, &'a str, &'a str, (f32, f32), f32, PropertyMutability),
Double(&'a str, &'a str, &'a str, (f64, f64), f64, PropertyMutability),
String(&'a str, &'a str, &'a str, Option<&'a str>, PropertyMutability),
Boxed(&'a str, &'a str, &'a str, fn() -> Type, PropertyMutability),
Object(&'a str, &'a str, &'a str, fn() -> Type, PropertyMutability),
Variant(&'a str, &'a str, &'a str, fn() -> VariantType, Option<&'a Variant>, PropertyMutability),
}Variants§
Boolean(&'a str, &'a str, &'a str, bool, PropertyMutability)
Int(&'a str, &'a str, &'a str, (i32, i32), i32, PropertyMutability)
Int64(&'a str, &'a str, &'a str, (i64, i64), i64, PropertyMutability)
UInt(&'a str, &'a str, &'a str, (u32, u32), u32, PropertyMutability)
UInt64(&'a str, &'a str, &'a str, (u64, u64), u64, PropertyMutability)
Float(&'a str, &'a str, &'a str, (f32, f32), f32, PropertyMutability)
Double(&'a str, &'a str, &'a str, (f64, f64), f64, PropertyMutability)
String(&'a str, &'a str, &'a str, Option<&'a str>, PropertyMutability)
Boxed(&'a str, &'a str, &'a str, fn() -> Type, PropertyMutability)
Object(&'a str, &'a str, &'a str, fn() -> Type, PropertyMutability)
Variant(&'a str, &'a str, &'a str, fn() -> VariantType, Option<&'a Variant>, PropertyMutability)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Property<'a>
impl<'a> RefUnwindSafe for Property<'a>
impl<'a> Send for Property<'a>
impl<'a> Sync for Property<'a>
impl<'a> Unpin for Property<'a>
impl<'a> UnwindSafe for Property<'a>
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