pub struct DependencyTree {
pub offsets: Vec<CellId>,
/* private fields */
}
Fields§
§offsets: Vec<CellId>
Implementations§
Source§impl DependencyTree
impl DependencyTree
pub fn new() -> DependencyTree
pub fn add_formula( &mut self, cell: CellId, formula_text: &str, sheets: &Vec<Sheet>, ) -> Result<(), Error>
pub fn add_expression( &mut self, cell: CellId, expression: Expr, sheets: &Vec<Sheet>, ) -> Result<(), Error>
pub fn add_cell(&mut self, cell: CellId)
pub fn cell_exists(&self, cell: &CellId) -> bool
pub fn add_cell_if_missing(&mut self, cell: &CellId)
pub fn add_precedent(&mut self, precedent: &CellId, cell: &CellId)
pub fn is_precedent_of(&self, cell1: &CellId, cell2: &CellId) -> bool
pub fn is_dependent_of(&self, cell1: &CellId, cell2: &CellId) -> bool
pub fn get_order(&self) -> Vec<CellId>
Trait Implementations§
Source§impl Default for DependencyTree
impl Default for DependencyTree
Auto Trait Implementations§
impl Freeze for DependencyTree
impl RefUnwindSafe for DependencyTree
impl Send for DependencyTree
impl Sync for DependencyTree
impl Unpin for DependencyTree
impl UnwindSafe for DependencyTree
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