Struct gluon_base::symbol::SymbolData
source · pub struct SymbolData<N = NameBuf> {
pub global: bool,
pub location: Option<(u32, u32)>,
pub name: N,
}
Fields§
§global: bool
§location: Option<(u32, u32)>
§name: N
Trait Implementations§
source§impl<N: Debug> Debug for SymbolData<N>
impl<N: Debug> Debug for SymbolData<N>
source§impl<N: Default> Default for SymbolData<N>
impl<N: Default> Default for SymbolData<N>
source§fn default() -> SymbolData<N>
fn default() -> SymbolData<N>
Returns the “default value” for a type. Read more
source§impl<'a, N> From<&'a str> for SymbolData<N>
impl<'a, N> From<&'a str> for SymbolData<N>
source§fn from(name: &'a str) -> SymbolData<N>
fn from(name: &'a str) -> SymbolData<N>
Converts to this type from the input type.
source§impl<N> From<SymbolData<N>> for Symbol
impl<N> From<SymbolData<N>> for Symbol
source§fn from(name: SymbolData<N>) -> Symbol
fn from(name: SymbolData<N>) -> Symbol
Converts to this type from the input type.
source§impl<N: Hash> Hash for SymbolData<N>
impl<N: Hash> Hash for SymbolData<N>
source§impl<N: PartialEq> PartialEq for SymbolData<N>
impl<N: PartialEq> PartialEq for SymbolData<N>
source§fn eq(&self, other: &SymbolData<N>) -> bool
fn eq(&self, other: &SymbolData<N>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<N: Eq> Eq for SymbolData<N>
impl<N> StructuralEq for SymbolData<N>
impl<N> StructuralPartialEq for SymbolData<N>
Auto Trait Implementations§
impl<N> RefUnwindSafe for SymbolData<N>where
N: RefUnwindSafe,
impl<N> Send for SymbolData<N>where
N: Send,
impl<N> Sync for SymbolData<N>where
N: Sync,
impl<N> Unpin for SymbolData<N>where
N: Unpin,
impl<N> UnwindSafe for SymbolData<N>where
N: UnwindSafe,
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