Struct pdb::BlockSymbol
source · [−]pub struct BlockSymbol<'t> {
pub parent: SymbolIndex,
pub end: SymbolIndex,
pub len: u32,
pub offset: PdbInternalSectionOffset,
pub name: RawString<'t>,
}
Expand description
A block symbol.
Symbol kind S_BLOCK32
, or S_BLOCK32_ST
.
Fields
parent: SymbolIndex
The parent scope that this block is nested in.
end: SymbolIndex
The end symbol of this block.
len: u32
The length of the block.
offset: PdbInternalSectionOffset
Code offset of the start of this label.
name: RawString<'t>
The block name.
Trait Implementations
sourceimpl<'t> Clone for BlockSymbol<'t>
impl<'t> Clone for BlockSymbol<'t>
sourcefn clone(&self) -> BlockSymbol<'t>
fn clone(&self) -> BlockSymbol<'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 BlockSymbol<'t>
impl<'t> Debug for BlockSymbol<'t>
sourceimpl<'t> PartialEq<BlockSymbol<'t>> for BlockSymbol<'t>
impl<'t> PartialEq<BlockSymbol<'t>> for BlockSymbol<'t>
sourcefn eq(&self, other: &BlockSymbol<'t>) -> bool
fn eq(&self, other: &BlockSymbol<'t>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BlockSymbol<'t>) -> bool
fn ne(&self, other: &BlockSymbol<'t>) -> bool
This method tests for !=
.
sourceimpl<'t> TryFromCtx<'t, u16, [u8]> for BlockSymbol<'t>
impl<'t> TryFromCtx<'t, u16, [u8]> for BlockSymbol<'t>
impl<'t> Copy for BlockSymbol<'t>
impl<'t> Eq for BlockSymbol<'t>
impl<'t> StructuralEq for BlockSymbol<'t>
impl<'t> StructuralPartialEq for BlockSymbol<'t>
Auto Trait Implementations
impl<'t> RefUnwindSafe for BlockSymbol<'t>
impl<'t> Send for BlockSymbol<'t>
impl<'t> Sync for BlockSymbol<'t>
impl<'t> Unpin for BlockSymbol<'t>
impl<'t> UnwindSafe for BlockSymbol<'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