pub enum IdentKind {
Typedef,
Ordinary,
}Expand description
What an identifier means where the parser is looking at it.
Variants§
Typedef
Declared with typedef, so a use of it in a specifier list is a type name.
Ordinary
Declared as anything else: an object, a function, a parameter, an enumerator.
Trait Implementations§
impl Copy for IdentKind
impl Eq for IdentKind
impl StructuralPartialEq for IdentKind
Auto Trait Implementations§
impl Freeze for IdentKind
impl RefUnwindSafe for IdentKind
impl Send for IdentKind
impl Sync for IdentKind
impl Unpin for IdentKind
impl UnsafeUnpin for IdentKind
impl UnwindSafe for IdentKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more