Struct espr::ir::EntityAttribute [−][src]
Fields
name: String
ty: TypeRef
optional: bool
Trait Implementations
type Input = EntityAttribute
type Input = EntityAttribute
AST portion
fn legalize(
ns: &Namespace<'_>,
ss: &Constraints,
scope: &Scope,
attr: &Self::Input
) -> Result<Self, SemanticError>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for EntityAttribute
impl Send for EntityAttribute
impl Sync for EntityAttribute
impl Unpin for EntityAttribute
impl UnwindSafe for EntityAttribute
Blanket Implementations
Mutably borrows from an owned value. Read more