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