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