Struct semantic_analyzer::ast::ExpressionStructValue
source · pub struct ExpressionStructValue<'a> {
pub name: ValueName<'a>,
pub attribute: ValueName<'a>,
}
Expand description
ExpressionStructValue
expression struct value element of AST.
Used for expression value declaration. The basic entity is:
- value name of struct type
- value struct type attribute
Fields§
§name: ValueName<'a>
Value name of struct typed value
attribute: ValueName<'a>
Attribute name of struct typed value
Trait Implementations§
source§impl<'a> Clone for ExpressionStructValue<'a>
impl<'a> Clone for ExpressionStructValue<'a>
source§fn clone(&self) -> ExpressionStructValue<'a>
fn clone(&self) -> ExpressionStructValue<'a>
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<'a> Debug for ExpressionStructValue<'a>
impl<'a> Debug for ExpressionStructValue<'a>
source§impl From<ExpressionStructValue<'_>> for ExpressionStructValue
impl From<ExpressionStructValue<'_>> for ExpressionStructValue
source§fn from(value: ExpressionStructValue<'_>) -> Self
fn from(value: ExpressionStructValue<'_>) -> Self
Converts to this type from the input type.
source§impl<'a> PartialEq for ExpressionStructValue<'a>
impl<'a> PartialEq for ExpressionStructValue<'a>
source§fn eq(&self, other: &ExpressionStructValue<'a>) -> bool
fn eq(&self, other: &ExpressionStructValue<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for ExpressionStructValue<'a>
impl<'a> StructuralEq for ExpressionStructValue<'a>
impl<'a> StructuralPartialEq for ExpressionStructValue<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ExpressionStructValue<'a>
impl<'a> Send for ExpressionStructValue<'a>
impl<'a> Sync for ExpressionStructValue<'a>
impl<'a> Unpin for ExpressionStructValue<'a>
impl<'a> UnwindSafe for ExpressionStructValue<'a>
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