Struct semantic_analyzer::types::types::StructAttributeType
source · pub struct StructAttributeType {
pub attr_name: ValueName,
pub attr_index: u32,
pub attr_type: Type,
}Expand description
StructAttributeType is type for Struct attributes fields.
Fields§
§attr_name: ValueNameAttribute name for struct type
attr_index: u32Attribute index representation for for struct type
attr_type: TypeAttribute type for struct type
Trait Implementations§
source§impl Clone for StructAttributeType
impl Clone for StructAttributeType
source§fn clone(&self) -> StructAttributeType
fn clone(&self) -> StructAttributeType
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 StructAttributeType
impl Debug for StructAttributeType
source§impl From<StructType<'_>> for StructAttributeType
impl From<StructType<'_>> for StructAttributeType
source§fn from(value: StructType<'_>) -> Self
fn from(value: StructType<'_>) -> Self
Converts to this type from the input type.
source§impl PartialEq for StructAttributeType
impl PartialEq for StructAttributeType
source§fn eq(&self, other: &StructAttributeType) -> bool
fn eq(&self, other: &StructAttributeType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for StructAttributeType
impl StructuralEq for StructAttributeType
impl StructuralPartialEq for StructAttributeType
Auto Trait Implementations§
impl RefUnwindSafe for StructAttributeType
impl Send for StructAttributeType
impl Sync for StructAttributeType
impl Unpin for StructAttributeType
impl UnwindSafe for StructAttributeType
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