pub enum ActionScriptItem {
Package(PackageDeclaration),
Class(ClassDeclaration),
Interface(InterfaceDeclaration),
Function(FunctionDeclaration),
Variable(VariableDeclaration),
Import(ImportDeclaration),
}Expand description
ActionScript top-level items
Variants§
Package(PackageDeclaration)
Package definition
Class(ClassDeclaration)
Class definition
Interface(InterfaceDeclaration)
Interface definition
Function(FunctionDeclaration)
Function definition
Variable(VariableDeclaration)
Variable declaration
Import(ImportDeclaration)
Import statement
Trait Implementations§
Source§impl Clone for ActionScriptItem
impl Clone for ActionScriptItem
Source§fn clone(&self) -> ActionScriptItem
fn clone(&self) -> ActionScriptItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionScriptItem
impl Debug for ActionScriptItem
Source§impl<'de> Deserialize<'de> for ActionScriptItem
impl<'de> Deserialize<'de> for ActionScriptItem
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
Source§impl PartialEq for ActionScriptItem
impl PartialEq for ActionScriptItem
Source§impl Serialize for ActionScriptItem
impl Serialize for ActionScriptItem
impl StructuralPartialEq for ActionScriptItem
Auto Trait Implementations§
impl Freeze for ActionScriptItem
impl RefUnwindSafe for ActionScriptItem
impl Send for ActionScriptItem
impl Sync for ActionScriptItem
impl Unpin for ActionScriptItem
impl UnsafeUnpin for ActionScriptItem
impl UnwindSafe for ActionScriptItem
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