pub struct PhpNamespace {
pub name: Option<String>,
pub items: Vec<PhpItem>,
}Expand description
PHP 命名空间
Fields§
§name: Option<String>§items: Vec<PhpItem>Trait Implementations§
Source§impl Clone for PhpNamespace
impl Clone for PhpNamespace
Source§fn clone(&self) -> PhpNamespace
fn clone(&self) -> PhpNamespace
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 PhpNamespace
impl Debug for PhpNamespace
Source§impl<'de> Deserialize<'de> for PhpNamespace
impl<'de> Deserialize<'de> for PhpNamespace
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 PhpNamespace
impl PartialEq for PhpNamespace
Source§impl Serialize for PhpNamespace
impl Serialize for PhpNamespace
impl StructuralPartialEq for PhpNamespace
Auto Trait Implementations§
impl Freeze for PhpNamespace
impl RefUnwindSafe for PhpNamespace
impl Send for PhpNamespace
impl Sync for PhpNamespace
impl Unpin for PhpNamespace
impl UnwindSafe for PhpNamespace
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