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