pub struct SkipListNode { /* private fields */ }Expand description
| Implementation details follow |
Implementations§
Source§impl SkipListNode
impl SkipListNode
pub fn new(k: &Box<dyn Key>) -> SkipListNode
Sourcepub fn next(&mut self, n: i32) -> *mut SkipListNode
pub fn next(&mut self, n: i32) -> *mut SkipListNode
| Accessors/mutators for links. Wrapped | in methods so we can add the appropriate | barriers as necessary. |
pub fn set_next(&mut self, n: i32, x: *mut SkipListNode)
Sourcepub fn no_barrier_next(&mut self, n: i32) -> *mut SkipListNode
pub fn no_barrier_next(&mut self, n: i32) -> *mut SkipListNode
| No-barrier variants that can be safely | used in a few locations. |
pub fn no_barrier_set_next(&mut self, n: i32, x: *mut SkipListNode)
Auto Trait Implementations§
impl !Freeze for SkipListNode
impl !RefUnwindSafe for SkipListNode
impl !Send for SkipListNode
impl !Sync for SkipListNode
impl Unpin for SkipListNode
impl !UnwindSafe for SkipListNode
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