pub enum NamedDefinition {
Cell(CellRef),
Range(RangeRef),
Formula {
ast: ASTNode,
dependencies: Vec<VertexId>,
range_deps: Vec<ReferenceType>,
},
}Expand description
Definition of what a name refers to
Variants§
Cell(CellRef)
Direct reference to a single cell
Range(RangeRef)
Reference to a range of cells
Formula
Named formula (evaluates to value/range)
Trait Implementations§
Source§impl Clone for NamedDefinition
impl Clone for NamedDefinition
Source§fn clone(&self) -> NamedDefinition
fn clone(&self) -> NamedDefinition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NamedDefinition
impl Debug for NamedDefinition
Source§impl PartialEq for NamedDefinition
impl PartialEq for NamedDefinition
impl StructuralPartialEq for NamedDefinition
Auto Trait Implementations§
impl Freeze for NamedDefinition
impl RefUnwindSafe for NamedDefinition
impl Send for NamedDefinition
impl Sync for NamedDefinition
impl Unpin for NamedDefinition
impl UnwindSafe for NamedDefinition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more