pub enum TopLevelItemKind {
Show 13 variants
FunctionDefinition,
FunctionDeclaration,
Typedef,
Struct,
Enum,
Include,
Define,
GObjectType,
Conditional,
GObjectDeclsBlock,
Declaration,
Expression,
Other,
}Expand description
Coarse kind of a top-level item, useful for filtering without pattern-matching.
Variants§
FunctionDefinition
FunctionDeclaration
Typedef
Struct
Enum
Include
Define
GObjectType
Conditional
GObjectDeclsBlock
Declaration
Expression
Other
Trait Implementations§
Source§impl Clone for TopLevelItemKind
impl Clone for TopLevelItemKind
impl Copy for TopLevelItemKind
Source§impl Debug for TopLevelItemKind
impl Debug for TopLevelItemKind
impl Eq for TopLevelItemKind
Source§impl Hash for TopLevelItemKind
impl Hash for TopLevelItemKind
Source§impl PartialEq for TopLevelItemKind
impl PartialEq for TopLevelItemKind
Source§impl Serialize for TopLevelItemKind
impl Serialize for TopLevelItemKind
impl StructuralPartialEq for TopLevelItemKind
Source§impl ValueEnum for TopLevelItemKind
impl ValueEnum for TopLevelItemKind
Auto Trait Implementations§
impl Freeze for TopLevelItemKind
impl RefUnwindSafe for TopLevelItemKind
impl Send for TopLevelItemKind
impl Sync for TopLevelItemKind
impl Unpin for TopLevelItemKind
impl UnsafeUnpin for TopLevelItemKind
impl UnwindSafe for TopLevelItemKind
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