[−][src]Struct tlid::Wrapping
Trait Implementations
impl<Id: IdAble> Behavior for Wrapping<Id>
[src]
type Id = Id
type Return = Id
fn next(pool: &mut Pool<Self>) -> Self::Return
[src]
wrapping ::next()
method, when out of range, wrapover to first element
WARNING: due to optimizations this does not behave correctly on Pools
which are created with an empty range
impl<Id: Debug + IdAble> Debug for Wrapping<Id>
[src]
impl<Id: PartialEq + IdAble> PartialEq<Wrapping<Id>> for Wrapping<Id>
[src]
impl<Id: IdAble> StructuralPartialEq for Wrapping<Id>
[src]
Auto Trait Implementations
impl<Id> RefUnwindSafe for Wrapping<Id> where
Id: RefUnwindSafe,
Id: RefUnwindSafe,
impl<Id> Send for Wrapping<Id> where
Id: Send,
Id: Send,
impl<Id> Sync for Wrapping<Id> where
Id: Sync,
Id: Sync,
impl<Id> Unpin for Wrapping<Id> where
Id: Unpin,
Id: Unpin,
impl<Id> UnwindSafe for Wrapping<Id> where
Id: UnwindSafe,
Id: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,