pub enum PropType {
Boolean,
String,
Number,
Date,
Enum(Vec<u32>),
Array(Box<PropType>),
Optional(Box<PropType>),
Object(u16),
}Expand description
One field’s closed-set props type.
Variants§
Boolean
Boolean value.
String
UTF-8 string.
Number
Number, checked for range at bind/render.
Date
Date represented as epoch milliseconds.
Enum(Vec<u32>)
Unit-enum string-table indices.
Array(Box<PropType>)
Homogeneous array.
Optional(Box<PropType>)
Optional value.
Object(u16)
Object-table index.
Trait Implementations§
impl Eq for PropType
impl StructuralPartialEq for PropType
Auto Trait Implementations§
impl Freeze for PropType
impl RefUnwindSafe for PropType
impl Send for PropType
impl Sync for PropType
impl Unpin for PropType
impl UnsafeUnpin for PropType
impl UnwindSafe for PropType
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