[−][src]Struct intrusive_collections::singly_linked_list::LinkOps
Default LinkOps
implementation for SinglyLinkedList
.
Trait Implementations
impl Clone for LinkOps
[src]
fn clone(&self) -> LinkOps
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LinkOps
[src]
impl Default for LinkOps
[src]
impl LinkOps for LinkOps
[src]
type LinkPtr = NonNull<Link>
The link pointer type.
unsafe fn acquire_link(&mut self, ptr: Self::LinkPtr) -> bool
[src]
unsafe fn release_link(&mut self, ptr: Self::LinkPtr)
[src]
impl SinglyLinkedListOps for LinkOps
[src]
unsafe fn next(&self, ptr: Self::LinkPtr) -> Option<Self::LinkPtr>
[src]
unsafe fn set_next(&mut self, ptr: Self::LinkPtr, next: Option<Self::LinkPtr>)
[src]
impl XorLinkedListOps for LinkOps
[src]
unsafe fn next(
&self,
ptr: Self::LinkPtr,
prev: Option<Self::LinkPtr>
) -> Option<Self::LinkPtr>
[src]
&self,
ptr: Self::LinkPtr,
prev: Option<Self::LinkPtr>
) -> Option<Self::LinkPtr>
unsafe fn prev(
&self,
ptr: Self::LinkPtr,
next: Option<Self::LinkPtr>
) -> Option<Self::LinkPtr>
[src]
&self,
ptr: Self::LinkPtr,
next: Option<Self::LinkPtr>
) -> Option<Self::LinkPtr>
unsafe fn set(
&mut self,
ptr: Self::LinkPtr,
prev: Option<Self::LinkPtr>,
next: Option<Self::LinkPtr>
)
[src]
&mut self,
ptr: Self::LinkPtr,
prev: Option<Self::LinkPtr>,
next: Option<Self::LinkPtr>
)
unsafe fn replace_next_or_prev(
&mut self,
ptr: Self::LinkPtr,
old: Option<Self::LinkPtr>,
new: Option<Self::LinkPtr>
)
[src]
&mut self,
ptr: Self::LinkPtr,
old: Option<Self::LinkPtr>,
new: Option<Self::LinkPtr>
)
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,