pub struct IdRange<I> {
pub first: I,
pub len: u32,
}Expand description
len entries of one table, starting at first. An empty range starts at
the table’s length when it was made.
Fields§
§first: I§len: u32Trait Implementations§
impl<I: Copy> Copy for IdRange<I>
impl<I: Eq> Eq for IdRange<I>
Source§impl<I: PartialEq> PartialEq for IdRange<I>
impl<I: PartialEq> PartialEq for IdRange<I>
impl<I: PartialEq> StructuralPartialEq for IdRange<I>
Auto Trait Implementations§
impl<I> Freeze for IdRange<I>where
I: Freeze,
impl<I> RefUnwindSafe for IdRange<I>where
I: RefUnwindSafe,
impl<I> Send for IdRange<I>where
I: Send,
impl<I> Sync for IdRange<I>where
I: Sync,
impl<I> Unpin for IdRange<I>where
I: Unpin,
impl<I> UnsafeUnpin for IdRange<I>where
I: UnsafeUnpin,
impl<I> UnwindSafe for IdRange<I>where
I: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more