pub struct IdRange {
pub start: u32,
pub end_exclusive: u64,
}Expand description
Nonzero ID range; the wider upper bound represents the entire u32 space.
Fields§
§start: u32Inclusive lower bound, at least one.
end_exclusive: u64Exclusive upper bound, at most 2^32.
Implementations§
Trait Implementations§
impl Copy for IdRange
impl Eq for IdRange
impl StructuralPartialEq for IdRange
Auto Trait Implementations§
impl Freeze for IdRange
impl RefUnwindSafe for IdRange
impl Send for IdRange
impl Sync for IdRange
impl Unpin for IdRange
impl UnsafeUnpin for IdRange
impl UnwindSafe for IdRange
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