Struct aper::data_structures::ListItem
source · [−]pub struct ListItem<'a, T: StateMachine + PartialEq> {
pub value: &'a T,
pub location: ZenoIndex,
pub id: Uuid,
}
Expand description
Represents a view of an entry in a list during iteration. Each
item contains a borrow of its value
; its location
as a ZenoIndex,
and a unique identifier which is opaque but must be passed for
List::delete and List::move_item calls.
Fields
value: &'a T
location: ZenoIndex
id: Uuid
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for ListItem<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for ListItem<'a, T>where
T: Sync,
impl<'a, T> Sync for ListItem<'a, T>where
T: Sync,
impl<'a, T> Unpin for ListItem<'a, T>
impl<'a, T> UnwindSafe for ListItem<'a, T>where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more