pub struct ItemInfo<'a, V, M> {
pub item: &'a V,
pub index: usize,
pub outer_distance: M,
pub inner_distance: M,
}Fields§
§item: &'a V§index: usize§outer_distance: M§inner_distance: MTrait Implementations§
Source§impl<'a, V: PartialEq, M: PartialEq> PartialEq for ItemInfo<'a, V, M>
impl<'a, V: PartialEq, M: PartialEq> PartialEq for ItemInfo<'a, V, M>
impl<'a, V, M> StructuralPartialEq for ItemInfo<'a, V, M>
Auto Trait Implementations§
impl<'a, V, M> Freeze for ItemInfo<'a, V, M>where
M: Freeze,
impl<'a, V, M> RefUnwindSafe for ItemInfo<'a, V, M>where
M: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, V, M> Send for ItemInfo<'a, V, M>
impl<'a, V, M> Sync for ItemInfo<'a, V, M>
impl<'a, V, M> Unpin for ItemInfo<'a, V, M>where
M: Unpin,
impl<'a, V, M> UnsafeUnpin for ItemInfo<'a, V, M>where
M: UnsafeUnpin,
impl<'a, V, M> UnwindSafe for ItemInfo<'a, V, M>where
M: UnwindSafe,
V: RefUnwindSafe,
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