Struct pdb::FunctionId
source · [−]pub struct FunctionId<'t> {
pub scope: Option<IdIndex>,
pub function_type: TypeIndex,
pub name: RawString<'t>,
}
Expand description
Global function, usually inlined.
This Id is usually referenced by InlineSiteSymbol
.
Fields
scope: Option<IdIndex>
Parent scope of this id.
function_type: TypeIndex
Index of the function type declaration.
name: RawString<'t>
Name of the function.
Trait Implementations
sourceimpl<'t> Clone for FunctionId<'t>
impl<'t> Clone for FunctionId<'t>
sourcefn clone(&self) -> FunctionId<'t>
fn clone(&self) -> FunctionId<'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 FunctionId<'t>
impl<'t> Debug for FunctionId<'t>
sourceimpl<'t> PartialEq<FunctionId<'t>> for FunctionId<'t>
impl<'t> PartialEq<FunctionId<'t>> for FunctionId<'t>
sourcefn eq(&self, other: &FunctionId<'t>) -> bool
fn eq(&self, other: &FunctionId<'t>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FunctionId<'t>) -> bool
fn ne(&self, other: &FunctionId<'t>) -> bool
This method tests for !=
.
impl<'t> Eq for FunctionId<'t>
impl<'t> StructuralEq for FunctionId<'t>
impl<'t> StructuralPartialEq for FunctionId<'t>
Auto Trait Implementations
impl<'t> RefUnwindSafe for FunctionId<'t>
impl<'t> Send for FunctionId<'t>
impl<'t> Sync for FunctionId<'t>
impl<'t> Unpin for FunctionId<'t>
impl<'t> UnwindSafe for FunctionId<'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