Struct moore_vhdl::score::ConstDeclRef
source · [−]pub struct ConstDeclRef(_);
Trait Implementations
sourceimpl Clone for ConstDeclRef
impl Clone for ConstDeclRef
sourcefn clone(&self) -> ConstDeclRef
fn clone(&self) -> ConstDeclRef
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<ConstDeclRef, UnitBuilder<'_>> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
impl<'lazy, 'sb, 'ast, 'ctx> Codegen<ConstDeclRef, UnitBuilder<'_>> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
fn codegen(&self, id: ConstDeclRef, _ctx: &mut UnitBuilder<'_>) -> Result<()>
sourceimpl Debug for ConstDeclRef
impl Debug for ConstDeclRef
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<ConstDeclRef> for DeclInPkgRef
impl From<ConstDeclRef> for DeclInPkgRef
sourcefn from(id: ConstDeclRef) -> DeclInPkgRef
fn from(id: ConstDeclRef) -> DeclInPkgRef
Performs the conversion.
sourceimpl From<ConstDeclRef> for DeclInPkgBodyRef
impl From<ConstDeclRef> for DeclInPkgBodyRef
sourcefn from(id: ConstDeclRef) -> DeclInPkgBodyRef
fn from(id: ConstDeclRef) -> DeclInPkgBodyRef
Performs the conversion.
sourceimpl From<ConstDeclRef> for DeclInSubprogRef
impl From<ConstDeclRef> for DeclInSubprogRef
sourcefn from(id: ConstDeclRef) -> DeclInSubprogRef
fn from(id: ConstDeclRef) -> DeclInSubprogRef
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<ConstDeclRef> for DeclInProcRef
impl From<ConstDeclRef> for DeclInProcRef
sourcefn from(id: ConstDeclRef) -> DeclInProcRef
fn from(id: ConstDeclRef) -> DeclInProcRef
Performs the conversion.
sourceimpl Hash for ConstDeclRef
impl Hash for ConstDeclRef
sourceimpl NodeRef for ConstDeclRef
impl NodeRef for ConstDeclRef
sourceimpl<'ctx> NodeStorage<ConstDeclRef> for HirTable<'ctx>
impl<'ctx> NodeStorage<ConstDeclRef> for HirTable<'ctx>
sourceimpl<'sb, 'ast, 'ctx> NodeStorage<ConstDeclRef> for LazyHirTable<'sb, 'ast, 'ctx>
impl<'sb, 'ast, 'ctx> NodeStorage<ConstDeclRef> for LazyHirTable<'sb, 'ast, 'ctx>
type Node = LazyNode<LazyHir<'sb, 'ast, 'ctx, Decl<ConstDecl>>>
type Node = LazyNode<LazyHir<'sb, 'ast, 'ctx, Decl<ConstDecl>>>
The type of the node that is returned when presented with an ID of type
I
. Read more
sourceimpl Ord for ConstDeclRef
impl Ord for ConstDeclRef
sourceimpl PartialEq<ConstDeclRef> for ConstDeclRef
impl PartialEq<ConstDeclRef> for ConstDeclRef
sourcefn eq(&self, other: &ConstDeclRef) -> bool
fn eq(&self, other: &ConstDeclRef) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ConstDeclRef) -> bool
fn ne(&self, other: &ConstDeclRef) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ConstDeclRef> for ConstDeclRef
impl PartialOrd<ConstDeclRef> for ConstDeclRef
sourcefn partial_cmp(&self, other: &ConstDeclRef) -> Option<Ordering>
fn partial_cmp(&self, other: &ConstDeclRef) -> 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<ConstDeclRef> for TypeckContext<'sbc, 'lazy, 'sb, 'ast, 'ctx>
impl<'sbc, 'lazy, 'sb, 'ast, 'ctx> Typeck<ConstDeclRef> for TypeckContext<'sbc, 'lazy, 'sb, 'ast, 'ctx>
fn typeck(&self, id: ConstDeclRef)
impl Copy for ConstDeclRef
impl Eq for ConstDeclRef
impl StructuralEq for ConstDeclRef
impl StructuralPartialEq for ConstDeclRef
Auto Trait Implementations
impl RefUnwindSafe for ConstDeclRef
impl Send for ConstDeclRef
impl Sync for ConstDeclRef
impl Unpin for ConstDeclRef
impl UnwindSafe for ConstDeclRef
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