pub struct ListLinks<const ID: u64 = 0> { /* private fields */ }Expand description
The prev/next pointers for an item in a linked list.
§Invariants
The fields are null if and only if this item is not in a list.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const ID: u64 = 0> !Freeze for ListLinks<ID>
impl<const ID: u64 = 0> !RefUnwindSafe for ListLinks<ID>
impl<const ID: u64 = 0> !Unpin for ListLinks<ID>
impl<const ID: u64 = 0> !UnsafeUnpin for ListLinks<ID>
impl<const ID: u64> UnwindSafe for ListLinks<ID>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
Source§fn into_safe_cast(self) -> T
fn into_safe_cast(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.Source§impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
Source§fn into_safe_cast_arch(self) -> T
fn into_safe_cast_arch(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.