Struct pdb::Local[][src]

pub struct Local<I: ItemIndex>(pub I);

An ItemIndex that is local to a module.

This index is usually part of a CrossModuleRef. It cannot be used to query the TypeInformation or IdInformation streams directly. Instead, it must be looked up in the CrossModuleImports of the module it belongs to in order to obtain the global index.

See ItemIndex::is_cross_module for more information.

Trait Implementations

impl<I: Clone + ItemIndex> Clone for Local<I>[src]

impl<I: Copy + ItemIndex> Copy for Local<I>[src]

impl<I: Debug + ItemIndex> Debug for Local<I>[src]

impl<I: Default + ItemIndex> Default for Local<I>[src]

impl<I> Display for Local<I> where
    I: ItemIndex + Display
[src]

impl<I: Eq + ItemIndex> Eq for Local<I>[src]

impl<I: Hash + ItemIndex> Hash for Local<I>[src]

impl<I: Ord + ItemIndex> Ord for Local<I>[src]

impl<I: PartialEq + ItemIndex> PartialEq<Local<I>> for Local<I>[src]

impl<I: PartialOrd + ItemIndex> PartialOrd<Local<I>> for Local<I>[src]

impl<I: ItemIndex> StructuralEq for Local<I>[src]

impl<I: ItemIndex> StructuralPartialEq for Local<I>[src]

Auto Trait Implementations

impl<I> RefUnwindSafe for Local<I> where
    I: RefUnwindSafe

impl<I> Send for Local<I> where
    I: Send

impl<I> Sync for Local<I> where
    I: Sync

impl<I> Unpin for Local<I> where
    I: Unpin

impl<I> UnwindSafe for Local<I> where
    I: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.