Home
last modified time | relevance | path

Searched refs:replace (Results 1 – 3 of 3) sorted by relevance

/rust/pin-init/examples/
A Dlinked_list.rs46 prev: list.next.prev().replace(unsafe { Link::new_unchecked(this)}), in insert_next()
47 next: list.next.replace(unsafe { Link::new_unchecked(this)}), in insert_next()
55 next: list.prev.next().replace(unsafe { Link::new_unchecked(this)}), in insert_prev()
56 prev: list.prev.replace(unsafe { Link::new_unchecked(this)}), in insert_prev()
128 fn replace(&self, other: Link) -> Link { in replace() method
129 unsafe { Link::new_unchecked(self.0.replace(other.0.get())) } in replace()
/rust/macros/
A Dmodule.rs177 let ident = info.name.replace('-', "_"); in module()
/rust/kernel/
A Drbtree.rs303 RawEntry::Occupied(entry) => Some(entry.replace(node)), in insert()
1254 fn replace(self, node: RBTreeNode<K, V>) -> RBTreeNode<K, V> { in replace() method

Completed in 8 milliseconds