pub struct PureSymbol {
pub name: String,
pub kind: PureSymbolKind,
pub ref_count: usize,
}Expand description
Symbol information in PureFile.
Fields§
§name: StringSymbol name.
kind: PureSymbolKindKind of symbol.
ref_count: usizeNumber of references to this symbol.
Trait Implementations§
Source§impl Clone for PureSymbol
impl Clone for PureSymbol
Source§fn clone(&self) -> PureSymbol
fn clone(&self) -> PureSymbol
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 PureSymbol
impl Debug for PureSymbol
Source§impl PartialEq for PureSymbol
impl PartialEq for PureSymbol
Source§fn eq(&self, other: &PureSymbol) -> bool
fn eq(&self, other: &PureSymbol) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PureSymbol
impl StructuralPartialEq for PureSymbol
Auto Trait Implementations§
impl Freeze for PureSymbol
impl RefUnwindSafe for PureSymbol
impl Send for PureSymbol
impl Sync for PureSymbol
impl Unpin for PureSymbol
impl UnsafeUnpin for PureSymbol
impl UnwindSafe for PureSymbol
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