pub enum Item {
Show 13 variants
Namespace(NamespaceDeclaration),
Imports(ImportsDirective),
Class(ClassDeclaration),
Interface(InterfaceDeclaration),
Structure(StructureDeclaration),
Enum(EnumDeclaration),
Module(ModuleDeclaration),
Delegate(DelegateDeclaration),
Event(EventDeclaration),
Function(FunctionDeclaration),
Sub(SubDeclaration),
Property(PropertyDeclaration),
Variable(VariableDeclaration),
}Expand description
Top-level items in a VB.NET program.
Variants§
Namespace(NamespaceDeclaration)
Namespace declaration.
Imports(ImportsDirective)
Imports directive.
Class(ClassDeclaration)
Class declaration.
Interface(InterfaceDeclaration)
Interface declaration.
Structure(StructureDeclaration)
Structure declaration.
Enum(EnumDeclaration)
Enum declaration.
Module(ModuleDeclaration)
Module declaration.
Delegate(DelegateDeclaration)
Delegate declaration.
Event(EventDeclaration)
Event declaration.
Function(FunctionDeclaration)
Function declaration.
Sub(SubDeclaration)
Subroutine declaration.
Property(PropertyDeclaration)
Property declaration.
Variable(VariableDeclaration)
Variable declaration.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Item
impl<'de> Deserialize<'de> for Item
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
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