Struct php_parser_rs::parser::ast::ArrayExpression
source · pub struct ArrayExpression {
pub array: Span,
pub start: Span,
pub items: CommaSeparated<ArrayItem>,
pub end: Span,
}
Fields§
§array: Span
§start: Span
§items: CommaSeparated<ArrayItem>
§end: Span
Trait Implementations§
source§impl Clone for ArrayExpression
impl Clone for ArrayExpression
source§fn clone(&self) -> ArrayExpression
fn clone(&self) -> ArrayExpression
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 ArrayExpression
impl Debug for ArrayExpression
source§impl<'de> Deserialize<'de> for ArrayExpression
impl<'de> Deserialize<'de> for ArrayExpression
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 JsonSchema for ArrayExpression
impl JsonSchema for ArrayExpression
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<ArrayExpression> for ArrayExpression
impl PartialEq<ArrayExpression> for ArrayExpression
source§fn eq(&self, other: &ArrayExpression) -> bool
fn eq(&self, other: &ArrayExpression) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayExpression
impl Serialize for ArrayExpression
impl Eq for ArrayExpression
impl StructuralEq for ArrayExpression
impl StructuralPartialEq for ArrayExpression
Auto Trait Implementations§
impl RefUnwindSafe for ArrayExpression
impl Send for ArrayExpression
impl Sync for ArrayExpression
impl Unpin for ArrayExpression
impl UnwindSafe for ArrayExpression
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