pub enum RangeBoundsInput {
Empty,
Bounds {
lower: Produced<Option<Value>>,
upper: Produced<Option<Value>>,
lower_inclusive: bool,
upper_inclusive: bool,
},
}Expand description
A host constructor supplies already converted endpoints. An absent bound is unbounded; an empty range invokes neither endpoint input nor canonical support.
Variants§
Implementations§
Source§impl RangeBoundsInput
impl RangeBoundsInput
pub fn construct_with_operations<O: RangeConstruction + ?Sized>( self, operations: &O, control: &ProductionControl<'_>, ) -> Result<Produced<CanonicalRange<O::Identity>>>
Auto Trait Implementations§
impl Freeze for RangeBoundsInput
impl RefUnwindSafe for RangeBoundsInput
impl Send for RangeBoundsInput
impl Sync for RangeBoundsInput
impl Unpin for RangeBoundsInput
impl UnsafeUnpin for RangeBoundsInput
impl UnwindSafe for RangeBoundsInput
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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