[−]Struct symbolic::debuginfo::pdb::pdb::CrossModuleExports
A table of exports declared by this module.
Other modules can import types and ids from this module by using cross module references.
Implementations
impl CrossModuleExports
pub fn len(&self) -> usize
Returns the number of exported types or ids from this module.
pub fn is_empty(&self) -> bool
Returns true
if this module does not export types or ids.
pub fn exports(&self) -> CrossModuleExportIter<'_>
Returns an iterator over all cross scope exports.
pub fn resolve_import<I>(
&self,
local_index: Local<I>
) -> Result<Option<I>, Error> where
I: ItemIndex,
&self,
local_index: Local<I>
) -> Result<Option<I>, Error> where
I: ItemIndex,
Resolves the global index of the given cross module import's local index.
The global index can be used to retrieve items from the [TypeInformation
] or
[IdInformation
] streams. If the given local index is not listed in the export list, this
function returns Ok(None)
.
Trait Implementations
impl Clone for CrossModuleExports
pub fn clone(&self) -> CrossModuleExports
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CrossModuleExports
impl Default for CrossModuleExports
pub fn default() -> CrossModuleExports
Auto Trait Implementations
impl RefUnwindSafe for CrossModuleExports
[src]
impl Send for CrossModuleExports
[src]
impl Sync for CrossModuleExports
[src]
impl Unpin for CrossModuleExports
[src]
impl UnwindSafe for CrossModuleExports
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,