Struct pdb::Local [−][src]
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]
I: ItemIndex + Display,
impl<I: Eq + ItemIndex> Eq for Local<I>
[src]
impl<I: Hash + ItemIndex> Hash for Local<I>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<I: Ord + ItemIndex> Ord for Local<I>
[src]
fn cmp(&self, other: &Local<I>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<I: PartialEq + ItemIndex> PartialEq<Local<I>> for Local<I>
[src]
impl<I: PartialOrd + ItemIndex> PartialOrd<Local<I>> for Local<I>
[src]
fn partial_cmp(&self, other: &Local<I>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[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,
I: RefUnwindSafe,
impl<I> Send for Local<I> where
I: Send,
I: Send,
impl<I> Sync for Local<I> where
I: Sync,
I: Sync,
impl<I> Unpin for Local<I> where
I: Unpin,
I: Unpin,
impl<I> UnwindSafe for Local<I> where
I: UnwindSafe,
I: UnwindSafe,
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,