pub struct Graph { /* private fields */ }Implementations§
Source§impl Graph
impl Graph
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Sourcepub fn dependents(&self, sheet: usize, c: CellRef, out: &mut Vec<Key>)
pub fn dependents(&self, sheet: usize, c: CellRef, out: &mut Vec<Key>)
Formulas that read cell c of sheet.
Sourcepub fn dependents_of_range(
&self,
sheet: usize,
range: RangeRef,
out: &mut Vec<Key>,
)
pub fn dependents_of_range( &self, sheet: usize, range: RangeRef, out: &mut Vec<Key>, )
Formulas that read any cell of range (a formula can be listed more than once).
Sourcepub fn precedents_of(&self, k: Key) -> Vec<Area>
pub fn precedents_of(&self, k: Key) -> Vec<Area>
Precedent areas of a formula cell (for Trace Precedents).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Graph
impl RefUnwindSafe for Graph
impl Send for Graph
impl Sync for Graph
impl Unpin for Graph
impl UnsafeUnpin for Graph
impl UnwindSafe for Graph
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