pub enum PropertyFormType {
None,
Range,
Enumeration,
Unknown(u8),
}Expand description
Form type for property value constraints.
Describes how allowed values are specified for a property.
Variants§
None
No constraints (any value valid).
Range
Value must be within a range (min, max, step).
Enumeration
Value must be one of an enumerated set.
Unknown(u8)
Unknown form type.
Implementations§
Trait Implementations§
Source§impl Clone for PropertyFormType
impl Clone for PropertyFormType
Source§fn clone(&self) -> PropertyFormType
fn clone(&self) -> PropertyFormType
Returns a duplicate of the value. Read more
1.0.0 · 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 PropertyFormType
impl Debug for PropertyFormType
Source§impl Default for PropertyFormType
impl Default for PropertyFormType
Source§fn default() -> PropertyFormType
fn default() -> PropertyFormType
Returns the “default value” for a type. Read more
Source§impl PartialEq for PropertyFormType
impl PartialEq for PropertyFormType
impl Copy for PropertyFormType
impl Eq for PropertyFormType
impl StructuralPartialEq for PropertyFormType
Auto Trait Implementations§
impl Freeze for PropertyFormType
impl RefUnwindSafe for PropertyFormType
impl Send for PropertyFormType
impl Sync for PropertyFormType
impl Unpin for PropertyFormType
impl UnsafeUnpin for PropertyFormType
impl UnwindSafe for PropertyFormType
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