pub enum PhpItem {
OpenTag,
CloseTag,
Statement(PhpStatement),
Function(PhpFunction),
Class(PhpClass),
Interface(PhpInterface),
Trait(PhpTrait),
Namespace(PhpNamespace),
Use(PhpUse),
}Expand description
PHP 顶级项目
Variants§
OpenTag
CloseTag
Statement(PhpStatement)
Function(PhpFunction)
Class(PhpClass)
Interface(PhpInterface)
Trait(PhpTrait)
Namespace(PhpNamespace)
Use(PhpUse)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PhpItem
impl<'de> Deserialize<'de> for PhpItem
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 PhpItem
Auto Trait Implementations§
impl Freeze for PhpItem
impl RefUnwindSafe for PhpItem
impl Send for PhpItem
impl Sync for PhpItem
impl Unpin for PhpItem
impl UnwindSafe for PhpItem
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