Struct php_parser_rs::parser::ast::constant::ClassishConstant
source · pub struct ClassishConstant {
pub start: Span,
pub end: Span,
pub attributes: Vec<AttributeGroup>,
pub modifiers: ConstantModifierGroup,
pub entries: Vec<ConstantEntry>,
}
Fields§
§start: Span
§end: Span
§attributes: Vec<AttributeGroup>
§modifiers: ConstantModifierGroup
§entries: Vec<ConstantEntry>
Trait Implementations§
source§impl Clone for ClassishConstant
impl Clone for ClassishConstant
source§fn clone(&self) -> ClassishConstant
fn clone(&self) -> ClassishConstant
Returns a copy 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 ClassishConstant
impl Debug for ClassishConstant
source§impl<'de> Deserialize<'de> for ClassishConstant
impl<'de> Deserialize<'de> for ClassishConstant
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