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