Struct php_parser_rs::parser::ast::modifiers::PropertyModifierGroup
source · #[repr(transparent)]pub struct PropertyModifierGroup {
pub modifiers: Vec<PropertyModifier>,
}
Fields§
§modifiers: Vec<PropertyModifier>
Implementations§
source§impl PropertyModifierGroup
impl PropertyModifierGroup
pub fn is_empty(&self) -> bool
pub fn has_readonly(&self) -> bool
pub fn has_static(&self) -> bool
pub fn visibility(&self) -> Visibility
Trait Implementations§
source§impl Clone for PropertyModifierGroup
impl Clone for PropertyModifierGroup
source§fn clone(&self) -> PropertyModifierGroup
fn clone(&self) -> PropertyModifierGroup
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 PropertyModifierGroup
impl Debug for PropertyModifierGroup
source§impl<'de> Deserialize<'de> for PropertyModifierGroup
impl<'de> Deserialize<'de> for PropertyModifierGroup
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