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 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<'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>
impl<'a> Eq for ExpressionStructValue<'a>
impl<'a> StructuralPartialEq for ExpressionStructValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExpressionStructValue<'a>
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