pub enum RangeConstraintHandles {
Interval(ConstraintHandle),
Split {
lower: ConstraintHandle,
upper: ConstraintHandle,
},
}Expand description
Model-bound handles produced by a two-sided range declaration.
Variants§
Implementations§
Source§impl RangeConstraintHandles
impl RangeConstraintHandles
pub const fn ids(self) -> RangeConstraintIds
Trait Implementations§
Source§impl Clone for RangeConstraintHandles
impl Clone for RangeConstraintHandles
impl Copy for RangeConstraintHandles
Source§impl Debug for RangeConstraintHandles
impl Debug for RangeConstraintHandles
impl Eq for RangeConstraintHandles
Source§impl From<RangeConstraintHandles> for RangeConstraintIds
impl From<RangeConstraintHandles> for RangeConstraintIds
Source§fn from(value: RangeConstraintHandles) -> Self
fn from(value: RangeConstraintHandles) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RangeConstraintHandles
impl PartialEq for RangeConstraintHandles
impl StructuralPartialEq for RangeConstraintHandles
Auto Trait Implementations§
impl Freeze for RangeConstraintHandles
impl RefUnwindSafe for RangeConstraintHandles
impl Send for RangeConstraintHandles
impl Sync for RangeConstraintHandles
impl Unpin for RangeConstraintHandles
impl UnsafeUnpin for RangeConstraintHandles
impl UnwindSafe for RangeConstraintHandles
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more