pub struct Indexed<T> {
pub index: u16,
pub value: T,
}Expand description
Value and its address
Fields§
§index: u16Address of the value
value: TAssociated value
Implementations§
Trait Implementations§
impl<T: Copy> Copy for Indexed<T>
impl<T: Eq> Eq for Indexed<T>
impl<T> StructuralPartialEq for Indexed<T>
Auto Trait Implementations§
impl<T> Freeze for Indexed<T>where
T: Freeze,
impl<T> RefUnwindSafe for Indexed<T>where
T: RefUnwindSafe,
impl<T> Send for Indexed<T>where
T: Send,
impl<T> Sync for Indexed<T>where
T: Sync,
impl<T> Unpin for Indexed<T>where
T: Unpin,
impl<T> UnwindSafe for Indexed<T>where
T: UnwindSafe,
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