Struct endbasic_core::ast::SymbolSpan
source · pub struct SymbolSpan {
pub vref: VarRef,
pub pos: LineCol,
}
Expand description
Components of a symbol reference expression.
Fields§
§vref: VarRef
The symbol reference.
pos: LineCol
Starting position of the symbol reference.
Trait Implementations§
source§impl Clone for SymbolSpan
impl Clone for SymbolSpan
source§fn clone(&self) -> SymbolSpan
fn clone(&self) -> SymbolSpan
Returns a copy 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 SymbolSpan
impl Debug for SymbolSpan
source§impl PartialEq for SymbolSpan
impl PartialEq for SymbolSpan
source§fn eq(&self, other: &SymbolSpan) -> bool
fn eq(&self, other: &SymbolSpan) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SymbolSpan
impl StructuralPartialEq for SymbolSpan
Auto Trait Implementations§
impl Freeze for SymbolSpan
impl RefUnwindSafe for SymbolSpan
impl Send for SymbolSpan
impl Sync for SymbolSpan
impl Unpin for SymbolSpan
impl UnwindSafe for SymbolSpan
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)