Enum moore_vhdl::score::Def
source · [−]pub enum Def {
Show 25 variants
Arch(ArchRef),
Cfg(CfgRef),
Ctx(CtxRef),
Entity(EntityRef),
Lib(LibRef),
Pkg(PkgDeclRef),
PkgInst(PkgInstRef),
BuiltinPkg(BuiltinPkgRef),
BuiltinOp(BuiltinOpRef),
Type(TypeDeclRef),
Subtype(SubtypeDeclRef),
Enum(EnumRef),
Unit(UnitRef),
Const(ConstDeclRef),
Signal(SignalRef),
File(FileDeclRef),
Var(VarDeclRef),
Alias(AliasDeclRef),
Comp(CompDeclRef),
Attr(AttrDeclRef),
GroupTemp(GroupTempRef),
Group(GroupDeclRef),
Subprog(SubprogDeclRef),
SubprogInst(SubprogInstRef),
Stmt(StmtRef),
}
Variants
Arch(ArchRef)
Cfg(CfgRef)
Ctx(CtxRef)
Entity(EntityRef)
Lib(LibRef)
Pkg(PkgDeclRef)
PkgInst(PkgInstRef)
BuiltinPkg(BuiltinPkgRef)
BuiltinOp(BuiltinOpRef)
Type(TypeDeclRef)
Subtype(SubtypeDeclRef)
Enum(EnumRef)
Unit(UnitRef)
Const(ConstDeclRef)
Signal(SignalRef)
File(FileDeclRef)
Var(VarDeclRef)
Alias(AliasDeclRef)
Comp(CompDeclRef)
Attr(AttrDeclRef)
GroupTemp(GroupTempRef)
Group(GroupDeclRef)
Subprog(SubprogDeclRef)
SubprogInst(SubprogInstRef)
Stmt(StmtRef)
Trait Implementations
sourceimpl<'t, C: DiagEmitter, S> DefSpecificTermContext<'t, Def> for TermContext<C, S, Def>
impl<'t, C: DiagEmitter, S> DefSpecificTermContext<'t, Def> for TermContext<C, S, Def>
sourceimpl From<AliasDeclRef> for Def
impl From<AliasDeclRef> for Def
sourcefn from(id: AliasDeclRef) -> Def
fn from(id: AliasDeclRef) -> Def
Performs the conversion.
sourceimpl From<AttrDeclRef> for Def
impl From<AttrDeclRef> for Def
sourcefn from(id: AttrDeclRef) -> Def
fn from(id: AttrDeclRef) -> Def
Performs the conversion.
sourceimpl From<BuiltinOpRef> for Def
impl From<BuiltinOpRef> for Def
sourcefn from(id: BuiltinOpRef) -> Def
fn from(id: BuiltinOpRef) -> Def
Performs the conversion.
sourceimpl From<BuiltinPkgRef> for Def
impl From<BuiltinPkgRef> for Def
sourcefn from(id: BuiltinPkgRef) -> Def
fn from(id: BuiltinPkgRef) -> Def
Performs the conversion.
sourceimpl From<CompDeclRef> for Def
impl From<CompDeclRef> for Def
sourcefn from(id: CompDeclRef) -> Def
fn from(id: CompDeclRef) -> Def
Performs the conversion.
sourceimpl From<ConstDeclRef> for Def
impl From<ConstDeclRef> for Def
sourcefn from(id: ConstDeclRef) -> Def
fn from(id: ConstDeclRef) -> Def
Performs the conversion.
sourceimpl From<FileDeclRef> for Def
impl From<FileDeclRef> for Def
sourcefn from(id: FileDeclRef) -> Def
fn from(id: FileDeclRef) -> Def
Performs the conversion.
sourceimpl From<GroupDeclRef> for Def
impl From<GroupDeclRef> for Def
sourcefn from(id: GroupDeclRef) -> Def
fn from(id: GroupDeclRef) -> Def
Performs the conversion.
sourceimpl From<GroupTempRef> for Def
impl From<GroupTempRef> for Def
sourcefn from(id: GroupTempRef) -> Def
fn from(id: GroupTempRef) -> Def
Performs the conversion.
sourceimpl From<PkgDeclRef> for Def
impl From<PkgDeclRef> for Def
sourcefn from(id: PkgDeclRef) -> Def
fn from(id: PkgDeclRef) -> Def
Performs the conversion.
sourceimpl From<PkgInstRef> for Def
impl From<PkgInstRef> for Def
sourcefn from(id: PkgInstRef) -> Def
fn from(id: PkgInstRef) -> Def
Performs the conversion.
sourceimpl From<SubprogDeclRef> for Def
impl From<SubprogDeclRef> for Def
sourcefn from(id: SubprogDeclRef) -> Def
fn from(id: SubprogDeclRef) -> Def
Performs the conversion.
sourceimpl From<SubprogInstRef> for Def
impl From<SubprogInstRef> for Def
sourcefn from(id: SubprogInstRef) -> Def
fn from(id: SubprogInstRef) -> Def
Performs the conversion.
sourceimpl From<SubtypeDeclRef> for Def
impl From<SubtypeDeclRef> for Def
sourcefn from(id: SubtypeDeclRef) -> Def
fn from(id: SubtypeDeclRef) -> Def
Performs the conversion.
sourceimpl From<TypeDeclRef> for Def
impl From<TypeDeclRef> for Def
sourcefn from(id: TypeDeclRef) -> Def
fn from(id: TypeDeclRef) -> Def
Performs the conversion.
sourceimpl From<TypeMarkRef> for Def
impl From<TypeMarkRef> for Def
sourcefn from(tm: TypeMarkRef) -> Def
fn from(tm: TypeMarkRef) -> Def
Performs the conversion.
sourceimpl From<VarDeclRef> for Def
impl From<VarDeclRef> for Def
sourcefn from(id: VarDeclRef) -> Def
fn from(id: VarDeclRef) -> Def
Performs the conversion.
sourceimpl Ord for Def
impl Ord for Def
sourceimpl PartialOrd<Def> for Def
impl PartialOrd<Def> for Def
sourcefn partial_cmp(&self, other: &Def) -> Option<Ordering>
fn partial_cmp(&self, other: &Def) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'t, 'sbc, 'lazy, 'sb, 'ast, 'ctx> ScopeSpecificTermContext<'t, ScopeRef, Def> for TermContext<&'sbc ScoreContext<'lazy, 'sb, 'ast, 'ctx>, ScopeRef, Def> where
'lazy: 'sbc,
'sb: 'lazy,
'ast: 'sb,
'ctx: 'sb,
impl<'t, 'sbc, 'lazy, 'sb, 'ast, 'ctx> ScopeSpecificTermContext<'t, ScopeRef, Def> for TermContext<&'sbc ScoreContext<'lazy, 'sb, 'ast, 'ctx>, ScopeRef, Def> where
'lazy: 'sbc,
'sb: 'lazy,
'ast: 'sb,
'ctx: 'sb,
sourcefn termify_name_in_scope(
&self,
name: Spanned<ResolvableName>,
scope: ScopeRef
) -> Result<Spanned<Term<'t>>>
fn termify_name_in_scope(
&self,
name: Spanned<ResolvableName>,
scope: ScopeRef
) -> Result<Spanned<Term<'t>>>
Map a resolvable name to a term, resolving it within a scope.
fn maybe_selectable_scope(&self, term: &Term<'t>) -> Option<ScopeRef>
impl Copy for Def
impl Eq for Def
impl StructuralEq for Def
impl StructuralPartialEq for Def
Auto Trait Implementations
impl RefUnwindSafe for Def
impl Send for Def
impl Sync for Def
impl Unpin for Def
impl UnwindSafe for Def
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more