pub struct MemoryPointers { /* private fields */ }Expand description
The pointers of one session, over the shared record index.
Implementations§
Source§impl MemoryPointers
impl MemoryPointers
pub fn new( index: Arc<RecordIndex>, filters: Map<String, Value>, ) -> MemoryPointers
Sourcepub fn pointers_for(&self, paths: &[String]) -> Vec<String>
pub fn pointers_for(&self, paths: &[String]) -> Vec<String>
The pointer lines for a cell that wrote paths (relative to the session directory, with /).
Trait Implementations§
Source§impl CellObserver for MemoryPointers
impl CellObserver for MemoryPointers
Source§fn cell_changed(
&self,
changes: &CellChanges,
cwd: &Path,
_lane: &str,
) -> Vec<String>
fn cell_changed( &self, changes: &CellChanges, cwd: &Path, _lane: &str, ) -> Vec<String>
The files a cell on
lane (working in cwd) changed, checked writes included; lines for the model.Auto Trait Implementations§
impl !Freeze for MemoryPointers
impl !RefUnwindSafe for MemoryPointers
impl !UnwindSafe for MemoryPointers
impl Forget for MemoryPointers
impl Move for MemoryPointers
impl Send for MemoryPointers
impl Sync for MemoryPointers
impl Unpin for MemoryPointers
impl UnsafeUnpin for MemoryPointers
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