pub struct VariableSymbol {
pub id: VariableSymbolId,
pub name_range: TextRange,
pub kind: VariableKind,
pub ty: TypeName,
pub is_array: bool,
pub owner_scope: ScopeId,
pub decl_order: usize,
pub range: TextRange,
}Fields§
§id: VariableSymbolId§name_range: TextRange§kind: VariableKind§ty: TypeName§is_array: bool§owner_scope: ScopeId§decl_order: usize§range: TextRangeTrait Implementations§
Source§impl Clone for VariableSymbol
impl Clone for VariableSymbol
Source§fn clone(&self) -> VariableSymbol
fn clone(&self) -> VariableSymbol
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 VariableSymbol
impl Debug for VariableSymbol
Source§impl PartialEq for VariableSymbol
impl PartialEq for VariableSymbol
impl Eq for VariableSymbol
impl StructuralPartialEq for VariableSymbol
Auto Trait Implementations§
impl Freeze for VariableSymbol
impl RefUnwindSafe for VariableSymbol
impl Send for VariableSymbol
impl Sync for VariableSymbol
impl Unpin for VariableSymbol
impl UnsafeUnpin for VariableSymbol
impl UnwindSafe for VariableSymbol
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