pub struct RangeConstraint {
pub min: Option<Id<ConstExprNode>>,
pub max: Option<Id<ConstExprNode>>,
}Expand description
@range, @min and @max combined. DDS-XTypes 1.3 Annex B.
Fields§
§min: Option<Id<ConstExprNode>>Lower bound expression.
max: Option<Id<ConstExprNode>>Upper bound expression.
Trait Implementations§
Source§impl Clone for RangeConstraint
impl Clone for RangeConstraint
impl Copy for RangeConstraint
Source§impl Debug for RangeConstraint
impl Debug for RangeConstraint
impl Eq for RangeConstraint
Source§impl PartialEq for RangeConstraint
impl PartialEq for RangeConstraint
impl StructuralPartialEq for RangeConstraint
Auto Trait Implementations§
impl Freeze for RangeConstraint
impl RefUnwindSafe for RangeConstraint
impl Send for RangeConstraint
impl Sync for RangeConstraint
impl Unpin for RangeConstraint
impl UnsafeUnpin for RangeConstraint
impl UnwindSafe for RangeConstraint
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