pub struct FeatureConstraint {
pub min: Option<f64>,
pub max: Option<f64>,
}Expand description
Optional numeric domain declared for a feature.
Fields§
§min: Option<f64>Inclusive lower bound.
max: Option<f64>Inclusive upper bound.
Implementations§
Trait Implementations§
Source§impl Clone for FeatureConstraint
impl Clone for FeatureConstraint
Source§fn clone(&self) -> FeatureConstraint
fn clone(&self) -> FeatureConstraint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FeatureConstraint
Source§impl Debug for FeatureConstraint
impl Debug for FeatureConstraint
Source§impl PartialEq for FeatureConstraint
impl PartialEq for FeatureConstraint
impl StructuralPartialEq for FeatureConstraint
Auto Trait Implementations§
impl Freeze for FeatureConstraint
impl RefUnwindSafe for FeatureConstraint
impl Send for FeatureConstraint
impl Sync for FeatureConstraint
impl Unpin for FeatureConstraint
impl UnsafeUnpin for FeatureConstraint
impl UnwindSafe for FeatureConstraint
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