#[non_exhaustive]
pub enum IdData<'t> {
Function(FunctionId<'t>),
MemberFunction(MemberFunctionId<'t>),
BuildInfo(BuildInfoId),
StringList(StringListId),
String(StringId<'t>),
UserDefinedTypeSource(UserDefinedTypeSourceId),
}
Expand description
Encapsulates parsed data about an Id
.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Function(FunctionId<'t>)
Global function, usually inlined.
MemberFunction(MemberFunctionId<'t>)
Member function, usually inlined.
BuildInfo(BuildInfoId)
Tool, version and command line build information.
StringList(StringListId)
A list of substrings.
String(StringId<'t>)
A string.
UserDefinedTypeSource(UserDefinedTypeSourceId)
Source and line of the definition of a User Defined Type (UDT).
Trait Implementations
impl<'t> Eq for IdData<'t>
impl<'t> StructuralEq for IdData<'t>
impl<'t> StructuralPartialEq for IdData<'t>
Auto Trait Implementations
impl<'t> RefUnwindSafe for IdData<'t>
impl<'t> Send for IdData<'t>
impl<'t> Sync for IdData<'t>
impl<'t> Unpin for IdData<'t>
impl<'t> UnwindSafe for IdData<'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