pub struct IdxRange<T> {
pub start: Idx<T>,
pub end: Idx<T>,
}Expand description
A contiguous range of typed indices [start, end).
Used to represent a batch of values allocated together in an arena.
Fields§
§start: Idx<T>Inclusive start index.
end: Idx<T>Exclusive end index.
Implementations§
Trait Implementations§
impl<T: Copy> Copy for IdxRange<T>
Auto Trait Implementations§
impl<T> Freeze for IdxRange<T>
impl<T> RefUnwindSafe for IdxRange<T>where
T: RefUnwindSafe,
impl<T> Send for IdxRange<T>where
T: Send,
impl<T> Sync for IdxRange<T>where
T: Sync,
impl<T> Unpin for IdxRange<T>where
T: Unpin,
impl<T> UnsafeUnpin for IdxRange<T>
impl<T> UnwindSafe for IdxRange<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