pub struct PhpDeclareItem {
pub name: String,
pub value: Box<PhpExpression>,
}Expand description
PHP declare 项目
Fields§
§name: String§value: Box<PhpExpression>Trait Implementations§
Source§impl Clone for PhpDeclareItem
impl Clone for PhpDeclareItem
Source§fn clone(&self) -> PhpDeclareItem
fn clone(&self) -> PhpDeclareItem
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 PhpDeclareItem
impl Debug for PhpDeclareItem
Source§impl<'de> Deserialize<'de> for PhpDeclareItem
impl<'de> Deserialize<'de> for PhpDeclareItem
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 PhpDeclareItem
impl PartialEq for PhpDeclareItem
Source§impl Serialize for PhpDeclareItem
impl Serialize for PhpDeclareItem
impl StructuralPartialEq for PhpDeclareItem
Auto Trait Implementations§
impl Freeze for PhpDeclareItem
impl RefUnwindSafe for PhpDeclareItem
impl Send for PhpDeclareItem
impl Sync for PhpDeclareItem
impl Unpin for PhpDeclareItem
impl UnwindSafe for PhpDeclareItem
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