pub enum NameTarget {
Cell(CellRef),
Range(RangeRef),
}Expand description
What a named range currently resolves to (the name→target indirection).
Exactly the two shapes a resolved name target can take — unlike
Precedent, it has no Name variant (names do not chain) and no
Unresolved variant (an unresolved name has no target at all, hence
name_target_of returning None
rather than this type wrapped around an absence).
Variants§
Trait Implementations§
Source§impl Clone for NameTarget
impl Clone for NameTarget
Source§fn clone(&self) -> NameTarget
fn clone(&self) -> NameTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NameTarget
impl Debug for NameTarget
impl Eq for NameTarget
Source§impl PartialEq for NameTarget
impl PartialEq for NameTarget
impl StructuralPartialEq for NameTarget
Auto Trait Implementations§
impl Freeze for NameTarget
impl RefUnwindSafe for NameTarget
impl Send for NameTarget
impl Sync for NameTarget
impl Unpin for NameTarget
impl UnsafeUnpin for NameTarget
impl UnwindSafe for NameTarget
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