pub struct Links<Tag, T> {
prev: Option<T>,
next: Option<T>,
_tag: PhantomData<Tag>,
}Fields§
§prev: Option<T>§next: Option<T>§_tag: PhantomData<Tag>Implementations§
Trait Implementations§
impl<Tag: Copy, T: Copy> Copy for Links<Tag, T>
impl<Tag: Eq, T: Eq> Eq for Links<Tag, T>
impl<Tag, T> StructuralPartialEq for Links<Tag, T>
Auto Trait Implementations§
impl<Tag, T> Freeze for Links<Tag, T>where
T: Freeze,
impl<Tag, T> RefUnwindSafe for Links<Tag, T>where
T: RefUnwindSafe,
Tag: RefUnwindSafe,
impl<Tag, T> Send for Links<Tag, T>
impl<Tag, T> Sync for Links<Tag, T>
impl<Tag, T> Unpin for Links<Tag, T>
impl<Tag, T> UnwindSafe for Links<Tag, T>where
T: UnwindSafe,
Tag: 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