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