#[repr(C)]pub struct PoolBounds {
pub first: usize,
pub last: usize,
}Expand description
The range of ids a pool can hand out, as IReadOnlyPool<T>::bounds()
reports it: inclusive on both ends.
Fields§
§first: usize§last: usizeTrait Implementations§
Source§impl Clone for PoolBounds
impl Clone for PoolBounds
Source§fn clone(&self) -> PoolBounds
fn clone(&self) -> PoolBounds
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PoolBounds
Source§impl Debug for PoolBounds
impl Debug for PoolBounds
impl Eq for PoolBounds
Source§impl PartialEq for PoolBounds
impl PartialEq for PoolBounds
impl StructuralPartialEq for PoolBounds
Auto Trait Implementations§
impl Freeze for PoolBounds
impl RefUnwindSafe for PoolBounds
impl Send for PoolBounds
impl Sync for PoolBounds
impl Unpin for PoolBounds
impl UnsafeUnpin for PoolBounds
impl UnwindSafe for PoolBounds
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