pub struct RangeFromExcluded<T> {
pub start: T,
}
Expand description
Range with only an start bound, excluded.
Fields§
§start: T
Implementations§
Source§impl<T> RangeFromExcluded<T>
impl<T> RangeFromExcluded<T>
pub const fn new(start: T) -> RangeFromExcluded<T>
Trait Implementations§
Source§impl<T: Measure + PartialEnum> AsRange for RangeFromExcluded<T>
impl<T: Measure + PartialEnum> AsRange for RangeFromExcluded<T>
fn is_empty(&self) -> bool
fn intersects<R: AsRange>(&self, other: &R) -> bool
fn connected_to<R: AsRange>(&self, other: &R) -> bool
fn intersected_with<'a, R: AsRange<Item = Self::Item>>( &'a self, other: &'a R, ) -> AnyRange<&'a Self::Item>
fn without<'a, R: AsRange<Item = Self::Item>>( &'a self, other: &'a R, ) -> Difference<&'a Self::Item>
fn product<'a, R: AsRange<Item = Self::Item>>( &'a self, other: &'a R, ) -> Product<&'a Self::Item>
Source§impl<T: Measure + PartialEnum> IntoRange for RangeFromExcluded<T>
impl<T: Measure + PartialEnum> IntoRange for RangeFromExcluded<T>
fn into_range(self) -> AnyRange<Self::Item>
Source§impl<T> RangeBounds<T> for RangeFromExcluded<T>
impl<T> RangeBounds<T> for RangeFromExcluded<T>
Auto Trait Implementations§
impl<T> Freeze for RangeFromExcluded<T>where
T: Freeze,
impl<T> RefUnwindSafe for RangeFromExcluded<T>where
T: RefUnwindSafe,
impl<T> Send for RangeFromExcluded<T>where
T: Send,
impl<T> Sync for RangeFromExcluded<T>where
T: Sync,
impl<T> Unpin for RangeFromExcluded<T>where
T: Unpin,
impl<T> UnwindSafe for RangeFromExcluded<T>where
T: UnwindSafe,
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