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