Struct pdb::PublicSymbol
source · [−]pub struct PublicSymbol<'t> {
pub code: bool,
pub function: bool,
pub managed: bool,
pub msil: bool,
pub offset: PdbInternalSectionOffset,
pub name: RawString<'t>,
}
Expand description
A public symbol with a mangled name.
Symbol kind S_PUB32
, or S_PUB32_ST
.
Fields
code: bool
The public symbol refers to executable code.
function: bool
The public symbol is a function.
managed: bool
The symbol is in managed code (native or IL).
msil: bool
The symbol is managed IL code.
offset: PdbInternalSectionOffset
Start offset of the symbol.
name: RawString<'t>
Mangled name of the symbol.
Trait Implementations
sourceimpl<'t> Clone for PublicSymbol<'t>
impl<'t> Clone for PublicSymbol<'t>
sourcefn clone(&self) -> PublicSymbol<'t>
fn clone(&self) -> PublicSymbol<'t>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'t> Debug for PublicSymbol<'t>
impl<'t> Debug for PublicSymbol<'t>
sourceimpl<'t> PartialEq<PublicSymbol<'t>> for PublicSymbol<'t>
impl<'t> PartialEq<PublicSymbol<'t>> for PublicSymbol<'t>
sourcefn eq(&self, other: &PublicSymbol<'t>) -> bool
fn eq(&self, other: &PublicSymbol<'t>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PublicSymbol<'t>) -> bool
fn ne(&self, other: &PublicSymbol<'t>) -> bool
This method tests for !=
.
sourceimpl<'t> TryFromCtx<'t, u16, [u8]> for PublicSymbol<'t>
impl<'t> TryFromCtx<'t, u16, [u8]> for PublicSymbol<'t>
impl<'t> Copy for PublicSymbol<'t>
impl<'t> Eq for PublicSymbol<'t>
impl<'t> StructuralEq for PublicSymbol<'t>
impl<'t> StructuralPartialEq for PublicSymbol<'t>
Auto Trait Implementations
impl<'t> RefUnwindSafe for PublicSymbol<'t>
impl<'t> Send for PublicSymbol<'t>
impl<'t> Sync for PublicSymbol<'t>
impl<'t> Unpin for PublicSymbol<'t>
impl<'t> UnwindSafe for PublicSymbol<'t>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more