Struct symbolic_ppdb::PortablePdb
source · pub struct PortablePdb<'data> { /* private fields */ }
Expand description
A parsed Portable PDB file.
This can be converted to a PortablePdbCache
using the
PortablePdbCacheConverter::process_portable_pdb
method.
Implementations§
source§impl<'data> PortablePdb<'data>
impl<'data> PortablePdb<'data>
sourcepub fn peek(buf: &[u8]) -> bool
pub fn peek(buf: &[u8]) -> bool
Checks whether the provided buffer could potentially be a Portable PDB file, without fully parsing it.
sourcepub fn parse(buf: &'data [u8]) -> Result<Self, FormatError>
pub fn parse(buf: &'data [u8]) -> Result<Self, FormatError>
Parses the provided buffer into a Portable PDB file.
sourcepub fn has_debug_info(&self) -> bool
pub fn has_debug_info(&self) -> bool
Returns true if this portable pdb file contains method debug information.
Trait Implementations§
source§impl<'data> Clone for PortablePdb<'data>
impl<'data> Clone for PortablePdb<'data>
source§fn clone(&self) -> PortablePdb<'data>
fn clone(&self) -> PortablePdb<'data>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more