Lines Matching refs:cell
193 use std::cell::Cell;
249 // cursor derived from this `cell` is ever assigned to this `cell`.
257 // the cell.
258 cell: Cell<Cursor<'static>>,
387 // See comment on `cell` in the struct definition.
388 cell: Cell::new(unsafe { mem::transmute::<Cursor, Cursor<'static>>(cursor) }),
418 fn cell_clone<T: Default + Clone>(cell: &Cell<T>) -> T {
419 let prev = cell.take();
421 cell.set(prev);
967 cell: self.cell.clone(),
1075 cursor: self.cell.get(),
1078 self.cell.set(rest);
1152 self.cell.get()