pub struct FixedRange(Range<usize>);Expand description
A fixed range.
Tuple Fields§
§0: Range<usize>Trait Implementations§
Source§impl Debug for FixedRange
impl Debug for FixedRange
Source§impl PartialEq for FixedRange
impl PartialEq for FixedRange
Source§impl Range for FixedRange
impl Range for FixedRange
impl Eq for FixedRange
impl StructuralPartialEq for FixedRange
Auto Trait Implementations§
impl Freeze for FixedRange
impl RefUnwindSafe for FixedRange
impl Send for FixedRange
impl Sync for FixedRange
impl Unpin for FixedRange
impl UnwindSafe for FixedRange
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> 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