pub enum Entry<'a> {
Type(&'a TypeEntry),
Procedure(&'a ProcedureEntry),
Variable(&'a VariableEntry),
Parameter(&'a VariableEntry),
}Expand description
Symbol table entry with no specific scope.
Variants§
Type(&'a TypeEntry)
Procedure(&'a ProcedureEntry)
Variable(&'a VariableEntry)
Parameter(&'a VariableEntry)
Implementations§
Trait Implementations§
Source§impl<'a> From<&'a GlobalEntry> for Entry<'a>
impl<'a> From<&'a GlobalEntry> for Entry<'a>
Source§fn from(value: &'a GlobalEntry) -> Self
fn from(value: &'a GlobalEntry) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a LocalEntry> for Entry<'a>
impl<'a> From<&'a LocalEntry> for Entry<'a>
Source§fn from(value: &'a LocalEntry) -> Self
fn from(value: &'a LocalEntry) -> Self
Converts to this type from the input type.
Source§impl ToTextRange for Entry<'_>
impl ToTextRange for Entry<'_>
impl<'a> Eq for Entry<'a>
impl<'a> StructuralPartialEq for Entry<'a>
Auto Trait Implementations§
impl<'a> Freeze for Entry<'a>
impl<'a> RefUnwindSafe for Entry<'a>
impl<'a> Send for Entry<'a>
impl<'a> Sync for Entry<'a>
impl<'a> Unpin for Entry<'a>
impl<'a> UnsafeUnpin for Entry<'a>
impl<'a> UnwindSafe for Entry<'a>
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