Struct dlist::DList [−][src]
Implementations
impl<V, Me> DList<V, Me> where
Me: Measurer<V>,
[src]
Me: Measurer<V>,
impl<V, M> DList<V, M> where
M: Measurer<V>,
[src]
M: Measurer<V>,
pub fn insert(&mut self, index: usize, val: V)
[src]
pub fn append(&mut self, val: V)
[src]
pub fn size(&self) -> usize
[src]
pub fn length(&self) -> M::Measure
[src]
pub fn get_by_index(&self, index: usize) -> Option<ItemInfo<'_, V, M::Measure>>
[src]
pub fn get_by_distance(
&self,
distance: M::Measure
) -> Option<ItemInfo<'_, V, M::Measure>>
[src]
&self,
distance: M::Measure
) -> Option<ItemInfo<'_, V, M::Measure>>
pub fn delete(&mut self, index: usize)
[src]
Auto Trait Implementations
impl<V, M> RefUnwindSafe for DList<V, M> where
M: RefUnwindSafe,
V: RefUnwindSafe,
<M as Measurer<V>>::Measure: RefUnwindSafe,
M: RefUnwindSafe,
V: RefUnwindSafe,
<M as Measurer<V>>::Measure: RefUnwindSafe,
impl<V, M> Send for DList<V, M> where
M: Send,
V: Send,
<M as Measurer<V>>::Measure: Send,
M: Send,
V: Send,
<M as Measurer<V>>::Measure: Send,
impl<V, M> Sync for DList<V, M> where
M: Sync,
V: Sync,
<M as Measurer<V>>::Measure: Sync,
M: Sync,
V: Sync,
<M as Measurer<V>>::Measure: Sync,
impl<V, M> Unpin for DList<V, M> where
M: Unpin,
M: Unpin,
impl<V, M> UnwindSafe for DList<V, M> where
M: UnwindSafe,
V: UnwindSafe,
<M as Measurer<V>>::Measure: UnwindSafe,
M: UnwindSafe,
V: UnwindSafe,
<M as Measurer<V>>::Measure: 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,
pub 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.
pub 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>,