Enum moore_vhdl::score::DeclInBlockRef
source · [−]pub enum DeclInBlockRef {
Show 20 variants
Subprog(SubprogDeclRef),
SubprogBody(SubprogBodyRef),
SubprogInst(SubprogInstRef),
Pkg(PkgDeclRef),
PkgBody(PkgBodyRef),
PkgInst(PkgInstRef),
Type(TypeDeclRef),
Subtype(SubtypeDeclRef),
Const(ConstDeclRef),
Signal(SignalDeclRef),
Var(VarDeclRef),
File(FileDeclRef),
Alias(AliasDeclRef),
Comp(CompDeclRef),
Attr(AttrDeclRef),
AttrSpec(AttrSpecRef),
CfgSpec(CfgSpecRef),
Discon(DisconSpecRef),
GroupTemp(GroupTempRef),
Group(GroupDeclRef),
}
Variants
Subprog(SubprogDeclRef)
SubprogBody(SubprogBodyRef)
SubprogInst(SubprogInstRef)
Pkg(PkgDeclRef)
PkgBody(PkgBodyRef)
PkgInst(PkgInstRef)
Type(TypeDeclRef)
Subtype(SubtypeDeclRef)
Const(ConstDeclRef)
Signal(SignalDeclRef)
Var(VarDeclRef)
File(FileDeclRef)
Alias(AliasDeclRef)
Comp(CompDeclRef)
Attr(AttrDeclRef)
AttrSpec(AttrSpecRef)
CfgSpec(CfgSpecRef)
Discon(DisconSpecRef)
GroupTemp(GroupTempRef)
Group(GroupDeclRef)
Trait Implementations
sourceimpl Clone for DeclInBlockRef
impl Clone for DeclInBlockRef
sourcefn clone(&self) -> DeclInBlockRef
fn clone(&self) -> DeclInBlockRef
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'lazy, 'sb, 'ast, 'ctx> Codegen<DeclInBlockRef, UnitBuilder<'_>> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
impl<'lazy, 'sb, 'ast, 'ctx> Codegen<DeclInBlockRef, UnitBuilder<'_>> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
fn codegen(&self, id: DeclInBlockRef, ctx: &mut UnitBuilder<'_>) -> Result<()>
sourceimpl Debug for DeclInBlockRef
impl Debug for DeclInBlockRef
sourceimpl From<AliasDeclRef> for DeclInBlockRef
impl From<AliasDeclRef> for DeclInBlockRef
sourcefn from(id: AliasDeclRef) -> DeclInBlockRef
fn from(id: AliasDeclRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<AttrDeclRef> for DeclInBlockRef
impl From<AttrDeclRef> for DeclInBlockRef
sourcefn from(id: AttrDeclRef) -> DeclInBlockRef
fn from(id: AttrDeclRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<AttrSpecRef> for DeclInBlockRef
impl From<AttrSpecRef> for DeclInBlockRef
sourcefn from(id: AttrSpecRef) -> DeclInBlockRef
fn from(id: AttrSpecRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<CfgSpecRef> for DeclInBlockRef
impl From<CfgSpecRef> for DeclInBlockRef
sourcefn from(id: CfgSpecRef) -> DeclInBlockRef
fn from(id: CfgSpecRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<CompDeclRef> for DeclInBlockRef
impl From<CompDeclRef> for DeclInBlockRef
sourcefn from(id: CompDeclRef) -> DeclInBlockRef
fn from(id: CompDeclRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<ConstDeclRef> for DeclInBlockRef
impl From<ConstDeclRef> for DeclInBlockRef
sourcefn from(id: ConstDeclRef) -> DeclInBlockRef
fn from(id: ConstDeclRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<DisconSpecRef> for DeclInBlockRef
impl From<DisconSpecRef> for DeclInBlockRef
sourcefn from(id: DisconSpecRef) -> DeclInBlockRef
fn from(id: DisconSpecRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<FileDeclRef> for DeclInBlockRef
impl From<FileDeclRef> for DeclInBlockRef
sourcefn from(id: FileDeclRef) -> DeclInBlockRef
fn from(id: FileDeclRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<GroupDeclRef> for DeclInBlockRef
impl From<GroupDeclRef> for DeclInBlockRef
sourcefn from(id: GroupDeclRef) -> DeclInBlockRef
fn from(id: GroupDeclRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<GroupTempRef> for DeclInBlockRef
impl From<GroupTempRef> for DeclInBlockRef
sourcefn from(id: GroupTempRef) -> DeclInBlockRef
fn from(id: GroupTempRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<PkgBodyRef> for DeclInBlockRef
impl From<PkgBodyRef> for DeclInBlockRef
sourcefn from(id: PkgBodyRef) -> DeclInBlockRef
fn from(id: PkgBodyRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<PkgDeclRef> for DeclInBlockRef
impl From<PkgDeclRef> for DeclInBlockRef
sourcefn from(id: PkgDeclRef) -> DeclInBlockRef
fn from(id: PkgDeclRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<PkgInstRef> for DeclInBlockRef
impl From<PkgInstRef> for DeclInBlockRef
sourcefn from(id: PkgInstRef) -> DeclInBlockRef
fn from(id: PkgInstRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<SignalDeclRef> for DeclInBlockRef
impl From<SignalDeclRef> for DeclInBlockRef
sourcefn from(id: SignalDeclRef) -> DeclInBlockRef
fn from(id: SignalDeclRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<SubprogBodyRef> for DeclInBlockRef
impl From<SubprogBodyRef> for DeclInBlockRef
sourcefn from(id: SubprogBodyRef) -> DeclInBlockRef
fn from(id: SubprogBodyRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<SubprogDeclRef> for DeclInBlockRef
impl From<SubprogDeclRef> for DeclInBlockRef
sourcefn from(id: SubprogDeclRef) -> DeclInBlockRef
fn from(id: SubprogDeclRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<SubprogInstRef> for DeclInBlockRef
impl From<SubprogInstRef> for DeclInBlockRef
sourcefn from(id: SubprogInstRef) -> DeclInBlockRef
fn from(id: SubprogInstRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<SubtypeDeclRef> for DeclInBlockRef
impl From<SubtypeDeclRef> for DeclInBlockRef
sourcefn from(id: SubtypeDeclRef) -> DeclInBlockRef
fn from(id: SubtypeDeclRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<TypeDeclRef> for DeclInBlockRef
impl From<TypeDeclRef> for DeclInBlockRef
sourcefn from(id: TypeDeclRef) -> DeclInBlockRef
fn from(id: TypeDeclRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl From<VarDeclRef> for DeclInBlockRef
impl From<VarDeclRef> for DeclInBlockRef
sourcefn from(id: VarDeclRef) -> DeclInBlockRef
fn from(id: VarDeclRef) -> DeclInBlockRef
Performs the conversion.
sourceimpl Hash for DeclInBlockRef
impl Hash for DeclInBlockRef
sourceimpl Ord for DeclInBlockRef
impl Ord for DeclInBlockRef
sourceimpl PartialEq<DeclInBlockRef> for DeclInBlockRef
impl PartialEq<DeclInBlockRef> for DeclInBlockRef
sourcefn eq(&self, other: &DeclInBlockRef) -> bool
fn eq(&self, other: &DeclInBlockRef) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeclInBlockRef) -> bool
fn ne(&self, other: &DeclInBlockRef) -> bool
This method tests for !=
.
sourceimpl PartialOrd<DeclInBlockRef> for DeclInBlockRef
impl PartialOrd<DeclInBlockRef> for DeclInBlockRef
sourcefn partial_cmp(&self, other: &DeclInBlockRef) -> Option<Ordering>
fn partial_cmp(&self, other: &DeclInBlockRef) -> 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<'sbc, 'lazy, 'sb, 'ast, 'ctx> Typeck<DeclInBlockRef> for TypeckContext<'sbc, 'lazy, 'sb, 'ast, 'ctx>
impl<'sbc, 'lazy, 'sb, 'ast, 'ctx> Typeck<DeclInBlockRef> for TypeckContext<'sbc, 'lazy, 'sb, 'ast, 'ctx>
fn typeck(&self, id: DeclInBlockRef)
impl Copy for DeclInBlockRef
impl Eq for DeclInBlockRef
impl StructuralEq for DeclInBlockRef
impl StructuralPartialEq for DeclInBlockRef
Auto Trait Implementations
impl RefUnwindSafe for DeclInBlockRef
impl Send for DeclInBlockRef
impl Sync for DeclInBlockRef
impl Unpin for DeclInBlockRef
impl UnwindSafe for DeclInBlockRef
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