pub struct PropertyRange {
pub min: PropertyValue,
pub max: PropertyValue,
pub step: PropertyValue,
}Expand description
Range constraint for a property value.
Used when PropertyFormType::Range is specified.
Fields§
§min: PropertyValueMinimum allowed value.
max: PropertyValueMaximum allowed value.
step: PropertyValueStep size between allowed values.
Implementations§
Source§impl PropertyRange
impl PropertyRange
Trait Implementations§
Source§impl Clone for PropertyRange
impl Clone for PropertyRange
Source§fn clone(&self) -> PropertyRange
fn clone(&self) -> PropertyRange
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 PropertyRange
impl Debug for PropertyRange
Source§impl PartialEq for PropertyRange
impl PartialEq for PropertyRange
impl StructuralPartialEq for PropertyRange
Auto Trait Implementations§
impl Freeze for PropertyRange
impl RefUnwindSafe for PropertyRange
impl Send for PropertyRange
impl Sync for PropertyRange
impl Unpin for PropertyRange
impl UnsafeUnpin for PropertyRange
impl UnwindSafe for PropertyRange
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